© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
5 replies
demonshide

How should I use Filament in my system?

In my setup, users can have one of three roles: admin, doctor, or patient. Should I create a separate Admin PanelProvider for each role? Is that possible? My concern is that the default PanelProvider uses "admin" for its ID and path, so I'm wondering if I should create two additional providers with IDs and paths corresponding to each role. Or is it better and more recommended to use a single panel and restrict options based on roles, as is commonly done?
Solution
It’s entirely up to you. Both methods will work. Just depends on what your app needs. But neither is right or wrong or necessarily better than the other.
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How use popup in my filament?
FilamentFFilament / ❓┊help
3y ago
How to use Alpine in Filament?
FilamentFFilament / ❓┊help
13mo ago
how to use swiperjs in filament
FilamentFFilament / ❓┊help
17mo ago
How can I use Filament styles?
FilamentFFilament / ❓┊help
2y ago