© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
5 replies
Bloom

Hiding custom page in navigation panel

i want to to hide custom page to non admin users, i saw the below code in the documentation but i don't exactly know how it works.
:
public static function shouldRegisterNavigation(): bool
{
return auth()->user()->canManageSettings();
}
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

Hiding Navigation Sidebar in a custom page
FilamentFFilament / ❓┊help
3y ago
Filament Custom Page always shows admin panel navigation
FilamentFFilament / ❓┊help
3y ago
sub navigation in custom page
FilamentFFilament / ❓┊help
3y ago
Adding Custom Page in Navigation
FilamentFFilament / ❓┊help
3y ago