© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
20 replies
Jay

Configuring canAccessPanel

I am using filament 3 and the new multi panel feature. I have 2 panels, one for admin and another for user. In the User.php model, i have the following:

public function canAccessPanel(Panel $panel): bool
{
return $this->is_admin;
}

This works - admins can view both the admin panel and user panel. However, a normal user cannot access the user panel due to this. How do I fix this?
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

Tenancy + canAccessPanel
FilamentFFilament / ❓┊help
3y ago
canAccessPanel Authenticatable
FilamentFFilament / ❓┊help
3y ago
canAccessPanel Redirection loop
FilamentFFilament / ❓┊help
3mo ago
Filament canAccessPanel error
FilamentFFilament / ❓┊help
6mo ago