F
Filament10mo ago
Wirkhof

Is there a plugin to add existing Spatie Permission roles to users via a select box?

Instead of doing it manually through model_has_roles table in DB? Or trying to create a custom thing just for that? Any plugin like that I can install? I am using it together with Filament Shield, but FS just creates roles. You can't assign a specific user the role you have created directly throught the FS user interface.
Solution:
GitHub
GitHub - bezhanSalleh/filament-shield: The easiest and most intuiti...
The easiest and most intuitive way to add access management to your Filament Admin Resources, Pages & Widgets through spatie/laravel-permission - GitHub - bezhanSalleh/filament-shield: Th...
Jump to solution
3 Replies
toeknee
toeknee10mo ago
You just need to add the select box via your user management resource
Solution
toeknee
toeknee10mo ago
GitHub
GitHub - bezhanSalleh/filament-shield: The easiest and most intuiti...
The easiest and most intuitive way to add access management to your Filament Admin Resources, Pages & Widgets through spatie/laravel-permission - GitHub - bezhanSalleh/filament-shield: Th...
Wirkhof
WirkhofOP10mo ago
Thank you. It seems to be working.
Want results from more Discord servers?
Add your server