laravel-permission icon indicating copy to clipboard operation
laravel-permission copied to clipboard

Easy and flexible Laravel authorization and roles permissions management

Results 4 laravel-permission issues
Sort by recently updated
recently updated
newest added

When there is an `as` attribute in the route group but routes in that route group do not have a name, the `name` column in the `permissions` table is not...

Illuminate\Database\QueryException `SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`esi`.`users`, CONSTRAINT `users_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`)) (SQL: delete from...

bug

When migrating, this error comes up: BadMethodCallException : Method Illuminate\Database\Schema\Blueprint::id does not exist. this is because id on the roles schema has been set as a datatype instead of increments...

modified: composer.json contributors modified: src/Commands/PermissionsGenerate.php modified: src/Exceptions/UnauthorizedException.php fixed typo modified: src/LaravelPermissionServiceProvider.php added blade directive modified: src/Middleware/AuthRoles.php new file: src/Models/PermissionRole.php created new model modified: src/Traits/HasRoles.php added relationship