© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•10mo ago•
3 replies
David | Fortune Validator

Cluster canAccess

Hi all

I have been using clusters for a while now and generally put a canAccess method on it to restrict sensitive pages to say a hasRole('Admin')

Only through running some tests have I realised that this doesnt restrict the page. It hides it from the navbar, but the pages assigned to the cluster are still accessible if you know the url.

I wondered if this was intentional?

My mistake was not testing the internal urls and assumed that as it was gone from the navbar then it was restricted.
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

canAccess() and Clusters
FilamentFFilament / ❓┊help
2y ago
Cluster page canAccess is being run when not going to that route.
FilamentFFilament / ❓┊help
14mo ago
cluster
FilamentFFilament / ❓┊help
2y ago
cluster issue
FilamentFFilament / ❓┊help
17mo ago