How do I get roles and permissions in filament multitenancy?

i try use https://github.com/bezhanSalleh/filament-shield with filament multitenancy but doesnt work
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 - bezhanSalleh/filament-shield
1 Reply
micraux
micraux6mo ago
I tried Shield, but encountered one problem: if a User belongs to many Teams, he will always has the same role. For example, the User can't be an "Author" in Team A and a "Contributor" in Team B. I like Shield a lot but my project needed this functionality, so I switched to another plugin (also based on Spatie Permission): https://filamentphp.com/plugins/tharinda-rodrigo-spatie-roles-permissions Hope it helps!
Filament
Spatie Roles Permissions by Tharinda Rodrigo - Filament
Filament support for spatie/laravel-permission.
Want results from more Discord servers?
Add your server