© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
12 replies
MK

Implementing Role-Based Access Control for Custom Pages on Filament

Hello! How are you? I'm trying to define a specific middleware to access a custom page on Filament. How could I make it so that only, for example, those with the 'teacher' role can access a custom page? Is there a function I can put in page.php?
Solution
https://filamentphp.com/docs/3.x/panels/pages#authorization
Pages - Panel Builder - Filament
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

Set up Role Based Access Control
FilamentFFilament / ❓┊help
16mo ago
Restricting Access to a Custom Filament Page Based on User Role
FilamentFFilament / ❓┊help
3y ago
Role based access
FilamentFFilament / ❓┊help
2y ago
Role based access of resources
FilamentFFilament / ❓┊help
3y ago