© 2026 Hedgehog Software, LLC

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

Can't edit a resource if viewAny() is false (Model Policy)

Hi ! I'm trying to configure my policies and I want a basic user to only be able to edit his own details but not see others users, if my
viewAny()
viewAny()
method return false, I get a 403 error on the
users/{id}/edit
users/{id}/edit
page. Can someone help me please ?
image.png
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

Resource visible in sidebar even if `viewAny()` returns false
FilamentFFilament / ❓┊help
17mo ago
only can edit resource if delete the update policy
FilamentFFilament / ❓┊help
3y ago
Edit Resource model
FilamentFFilament / ❓┊help
3y ago
ViewAny Policy with user HasRoles
FilamentFFilament / ❓┊help
9mo ago