bezhanSalleh / filament-shield

The easiest and most intuitive way to add access management to your Filament Admin Resources, Pages & Widgets through `spatie/laravel-permission`

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Role CRUD accessibility is bypassed

blalmal10a opened this issue · comments

Role can be accessed by user with/without any role in latest release i.e. version 3.2.4.

Using 3.2.3 for now.

Having the same issue. I managed to remove it from the sidebar nav bt changing config/filament-shield.php.

'shield_resource' => [ 'should_register_navigation' => false, //Change to False ]

However, if you have the URL, you can still access the Roles GUI with any user and make changes. Not sure if I am missing something but maybe there is a setting somewhere?

This may help -

You need to mark this as true. This fixed it for me.
'register_role_policy' => [ 'enabled' => true, ],

This may help -

You need to mark this as true. This fixed it for me. 'register_role_policy' => [ 'enabled' => true, ],

THANK YOU