defender icon indicating copy to clipboard operation
defender copied to clipboard

Roles & Permissions for Laravel

Results 34 defender issues
Sort by recently updated
recently updated
newest added

Hello, i have my Laravel projet whit breeze installed and when i try to run the migration i get that error SQLSTATE[HY000]: General error: 1005 Can't create table `data`.`role_user` (errno:...

Not compatible with laravel 9? ![image](https://user-images.githubusercontent.com/43229066/153069736-4cab9462-7137-4ac7-9503-f142bfb0dbd9.png)

Bumps [guzzlehttp/psr7](https://github.com/guzzle/psr7) from 2.1.0 to 2.2.1. Release notes Sourced from guzzlehttp/psr7's releases. 2.2.1 See change log for changes. 2.2.0 See change log for changes. 2.1.2 See change log for changes....

dependencies

Firts of all i create roles and permissions: ```php $role = Defender::createRole('superadmin'); $roleSuperadmin = Defender::findRole('superadmin'); $permission = Defender::createPermission('user.create', 'Create Users'); $roleSuperadmin->attachPermission($permission); //... And so on with all the roles and...

Not compatible with laravel 8?

Exclude when downloaded by composer

I found out that when I set the value of a permission_role to 0, the role can access the feature where I set a shield. The only place it works...

Estou tentando utilizar o Defender em um projeto de API feito em Lumen, mas estou com dificuldades de instalação. Mesmo apontando as Facades e ServiceProvider dá algum erro para leitura...

I have a user, and assign a role `$user->assignRole('Admin')` and in thins role, has many permissions assigned, with view_users for example In this case, i have a user with permissions...