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:Jump to solution
As you are using shield:
https://github.com/bezhanSalleh/filament-shield?tab=readme-ov-file#users-assigning-roles-to-users...
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...3 Replies
You just need to add the select box via your user management resource
Solution
As you are using shield:
https://github.com/bezhanSalleh/filament-shield?tab=readme-ov-file#users-assigning-roles-to-users
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...Thank you. It seems to be working.