© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•16mo ago•
2 replies
NME

How to hide dashboard from "Dashboard" depending on user role?

I want to know if there is a way to have a policy that restricts a user based on there role. Lets say my role is admin, then I can see the dashboard.. but when my login and my role is user I want the dashboard link or url to be unauthorize to non admin roles.

I can restrict other resource based on policy on viewany policy method. but I can't seem to find a way to do this for the Dashboard.
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

Hide all resources depending on user
FilamentFFilament / ❓┊help
3y ago
cant hide depending on the role in my policy
FilamentFFilament / ❓┊help
14mo ago
Disable the dashboard on Role user
FilamentFFilament / ❓┊help
3y ago
Different log-in behaviour depending on user role
FilamentFFilament / ❓┊help
3y ago