F
Filament16mo ago
Sesh

Delete action in table builder V3 seems to ignore Policy

I set up a Edit and a Delete action in the V3 table builder. Both policies work correctly when I check them in tinker (so the policy is correctly registered) but in the table builder action the delete action does delete the record and ignores the policy. Am I am missing something? Or is the standalone table builder not behaving the same as the panel: https://filamentphp.com/docs/3.x/panels/resources/deleting-records#authorization in observing model policies?
1 Reply
Patrick Boivin
Patrick Boivin16mo ago
Yeah, the Panel is aware of the model policies through the resource class but I don't think the standalone Table Builder is.
Want results from more Discord servers?
Add your server