© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
9 replies
Nono

Restricting Access to a Custom Filament Page Based on User Role

Hello everyone,

I'm currently working on a Filament project and have created a custom page named ApproveMaterials. I need to restrict access to this page so that only users with the 'admin' role can view it. However, I'm facing challenges in implementing this restriction.

Could anyone offer insights or guidance on the best way to restrict access to a custom Filament page based on user roles (and the make invisible the navigationLabel in the sidebar) ? Any tips or examples would be greatly appreciated!

Thank you in advance for your help.
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

Implementing Role-Based Access Control for Custom Pages on Filament
FilamentFFilament / ❓┊help
2y ago
Role based access
FilamentFFilament / ❓┊help
2y ago
How to show a different Filament Panel based on the user role?
FilamentFFilament / ❓┊help
3y ago
Restrict user access to different panels based on roles
FilamentFFilament / ❓┊help
3y ago