bouncer
bouncer copied to clipboard
Laravel Eloquent roles and abilities.
Hi, I've been struggling with this is issue all day and looking for a lifeline if possible. Currently, I have one ability 'view-all-clients'. If a user doesn't have this, they...
while using Bouncer package for a multi-tenant role and permission control on a project, I faced that bouncer may need the ability to create and assign to a role commands...
There are various performance and storage problems with the `CachedClipboard` as below: * Each ability check sets a new key in cache **for every single user** * Each of the...
I want to be able to own a specific model via the ownedVia method you have in your [documentation](https://github.com/JosephSilber/bouncer#ownership). Now I am declaring the ownedVia method in the `AppServiceProvider` boot()...
I'm using redis as cache driver and enabled cross-request caching: `Bouncer::cache();` I'm also using telescope to monitor everything. I noticed every time I use `$user->can('something')` Bouncer gets 4 keys from...
Considering that it is possible to do grant an ability only to a specific model ``` Bouncer::allow($user)->to('edit', $post); ``` I think it should also be possible to grant a role...
I have a pretty simple idea, but I never quite got it right. I have read all the documentation and searched issues. There is a list of Documents. There is...
running ```Bouncer::allow('admin')->to('ban-users');``` in tinker returns ```Silber\Bouncer\Conductors\Lazy\ConductsAbilities``` and never saves in the database how do i save a lazy ability? is it related to this? https://github.com/laravel/tinker/issues/30
I need that when editing the information of a user I can also edit the currently assigned role
I'm trying to do something that seems like it should be straightforward and I'm struggling. Feel like I'm missing something obvious. I have an app where users are granted explicit...