entrust icon indicating copy to clipboard operation
entrust copied to clipboard

@permission @role doesn't work

Open Amamdouh9950 opened this issue 7 years ago • 0 comments

my problem is that @permission and @role doesn't work in a project and work in other project i searched alot i found solution to make @if(Auth::guard('admin_user')->user()->can('cmsusers')) it works but the problem that when i try make middleware $this->middleware(['role:super_admin']); it always return http exception for all users even the super_admin that have the permission to visit every route ...

Amamdouh9950 avatar May 03 '18 13:05 Amamdouh9950