© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•10mo ago•
5 replies
Andrew3228

canEdit() (etc) on Filament resources

Hi all, I think I am being dense but I cannot find any documentation in Filament v3 around the canEdit, canDelete, etc. methods on a filament resource within a dashboard

A typical location for what I am talking about would be App/Filament/Admin/Resources/SpecificResource.php

Can anyone help point me in the right direction?

From testing, it seems if I have something defined here it over-rides the laravel policies for that same model. It also seems to only impact the model within the Filament panel, which makes sense.

I am trying to find the documentation to confirm this and also see if there is anything else I should consider.
Solution
also see if there is anything else I should consider.

Try to stick to policies as much as you can. Is there a reason you need to overwrite the behaviour in Filament?
Jump to solution
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

Filament shield and filament resources
FilamentFFilament / ❓┊help
3y ago
Refresh the filament resources
FilamentFFilament / ❓┊help
2y ago
Place resources other than App\Filament\Resources
FilamentFFilament / ❓┊help
2y ago
Missing Dashboard Resources in Filament
FilamentFFilament / ❓┊help
11mo ago