FilamentF
Filament2y ago
Abi

How to show a different Filament Panel based on the user role?

I am using Spatie's Laravel Permission. Is there a way to show a different Filament Panel based on the user role?
Solution
I think with the current implementation you always need to have two urls. Like /admin and /client. Then you can add the guard for those users or use canAccessPanel()
Was this page helpful?