Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.

how to use middleware in controller with 'or' condition #192

Open
xlkit456852 opened this issue Sep 15, 2016 · 0 comments
Open

how to use middleware in controller with 'or' condition #192

xlkit456852 opened this issue Sep 15, 2016 · 0 comments

Comments

@xlkit456852
Copy link

$this->middleware('permission:role_manage|level:100',['only'=>'index']);
I want to use this to let the user that has role_manage permission or level 100 access the index method.But it seems just use the permission middleware , no level .

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant