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.
6 replies