© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
Mark Chaney

Model Policies and Admin

If Im restricting access to the admin to a few select users using canAccessFilament(), do I need to put additional checks on the model policies or should I just return true for most of them? Right now I am simply checking their access on the model with that same canAcccessFilament(), but not sure if thats overkill. Im simply doing it in __construct, assigning it to a variable, and checking returning that at view, create, etc.
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

Admin Model instead of User model
FilamentFFilament / ❓┊help
9mo ago
createOptionForm not adhering to model policies
FilamentFFilament / ❓┊help
2y ago
Authorize Resouces not via model policies
FilamentFFilament / ❓┊help
3y ago
Model Policies for only 1 panel?
FilamentFFilament / ❓┊help
3y ago