entrust
entrust copied to clipboard
@permission @role doesn't work
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 ...