Spatie Roles Permissions
How can I make a resource only accessible for a specific role?
5 Replies
I tried this and added an debug message to it, but on visit, there is no debug message.
isnt it viewAny()?
and a policy?
@GeRaged | Niklas maybe u can also try shield plugin
https://filamentphp.com/plugins/bezhansalleh-shield
Filament
Shield by Bezhan Salleh - Filament
The easiest and most intuitive way to add access management to your Filament Panel's Resources, Pages & Widgets through spatie/laravel-permission.
I can only agree; great plugin!