© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
7 replies
Gianmarco Varrone

Prevent user from viewing a resource

Hello, I would like to prevent users, based on their role, to access specific resources (Example: If user isn't admin he can't see the user resources at all). I was able to conditionally hide the navigation label, but of course the url is still accessible.
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

Redirect to viewing record of resource from a custom page
FilamentFFilament / ❓┊help
3y ago
Create action when viewing resource record
FilamentFFilament / ❓┊help
3y ago
Resource for a single user
FilamentFFilament / ❓┊help
3y ago
Default fields not populating when viewing resource
FilamentFFilament / ❓┊help
3y ago