Zizaco / entrust

Role-based Permissions for Laravel 5
MIT License
6.05k stars 1.29k forks source link

change user table relation with roles #933

Open AmrAbdalrahman opened 5 years ago

AmrAbdalrahman commented 5 years ago

I made multi auth. I have another table called admins that related to roles tables and change configuration in config/entrust.php then crud roles works well with permissions and admins tables. when use middleware get 403 error Route::group(['middleware' => [role:admin']])

You don't have permission.

thanks