laravel-acl
laravel-acl copied to clipboard
Light-weight role-based permissions system for Laravel 6+ built in Auth system.
According to new Laravel 5.4 implementation of Eloquent methods, like hasMany or belongsToMany, whose behavior is different, compared to the 5.3: https://github.com/laravel/framework/issues/17503 I think you should create role_user and permission_user...
When a user is given a 401 error message, they have no way to know what roles/perms they are lacking without asking a developer to look at the code (if...
``` $module='student'; $user=User::find($userId); $pp=[ 'create' => true, 'read' => true, 'update' => false, 'delete' => false ]; $user->addPermission($module, $pp); ``` This action insert all value as a true at first...
I am attempting to set up laravel acl, and ran across an issue with assignRole(). I am running laravel 5.2 and acl 0.1.3 Here is unit test code to illustrate...
- Added ability to assign user to role with model & id - Added cache reset after assignRole/revokeRole - getRoles and getPermissions behavior changed to see actual role and permission...
Could we get some Lumen love? I can't find a decent Lumen ACL package... Right now I get: ``` Fatal error: Call to undefined function Kodeine\\Acl\\config_path() ``` Thanks.
Hello, The `can` function is already defined on the Authorizable trait. Could you rename your function to something else. Personally I prefer the laravel native authorization because I can implement...
Hello there, i'm having trouble using Laravel-ACL's `getRoles()` in my Codeception tests. I can't figure out if it's a Laravel-ACL specific limit or it's related to the application handling in...
Hi, Having an issue with route group protection on nested groups. ```php Route::group([ 'prefix' => 'application/fast', 'middleware' => ['web', 'auth', 'acl'], 'is' => 'god|fast.admin|fast.user', 'namespace' => 'Modules\Fast\Http\Controllers', 'as' => "fast."...
uppercase and AND/OR opearator