© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
17 replies
cobrABite

Restrict user access to different panels based on roles

I have 2 pannels One is Pharmacy and other is clinic. I have one login page , based on roles I am redirecting to the panels.
Solution
OK, yeah, so I was missing

->authMiddleware([
    Authenticate::class,
])
->authMiddleware([
    Authenticate::class,
])
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

Restrict user access to different panels based on roles
FilamentFFilament / ❓┊help
3y ago
How to Hide Panel Icons Based on User Roles and Order Panels
FilamentFFilament / ❓┊help
2y ago
Is it possible to set up roles and permission to access different panels?
FilamentFFilament / ❓┊help
2y ago
Show different records depending on user roles
FilamentFFilament / ❓┊help
2y ago