bouncer
bouncer copied to clipboard
Laravel Eloquent roles and abilities.
Hello, I have a little issue. I'm using laravel/framework v9.52.6 , but tried on v10 with same results. Bouncer version **"silber/bouncer": "v1.0.0",** - all works fine: In tinker: ``` $roles...
Hello! Thanks for the great library! Just trying to make this work with models that use UUID's, i have updated the entity_id columns on the database tables to the UUID...
I am working with this package and I wanted to have audit processes, I need to know the id of the records created in the `assigned_roles` and `permissions` pivot tables....
Is there a way to mass allow or disallow some ability to an array of users? like ``` Bouncer::allow($users)->to('ability', $object) Bouncer:: disallow($users)->to('ability', $object) ```
In laravel 11 I am assigning ownership to an organization like below. $organization = Organization::create(['name' => 'Test Org']); Bouncer::allow($user)->toOwn($organization); Question 1: How can I see which organizations I have ownership...
This is an automated pull request from [Shift](https://laravelshift.com) to update your package code and dependencies to be compatible with Laravel 11.x. **Before merging**, you need to: - Checkout the `l11-compatibility`...
I have a problem adding roles to users either using Tinkerwell or Artisan Tinker using my production instance. The user is already an admin and I want to add an...
I'm using `tenant_id` for scopes in the middleware (Laravel application). Currently, when refreshing the cache using `Bouncer::refresh()`, it refreshes for the users in the current tenant scope only. To refresh...
Add who granted the ability, it could nullable
Hello team! the Scope is persistent between several application initialization (typically during tests). the scope is defined as a static value in Silber\Bouncer\Database\Models and is not reset when bouncer service...