deleteAny policy - prevent self deletion
When using the deleteAny policy to allow bulk deletion, how can I modify to prevent allowing the ability to bulk delete myself from the list
4 Replies
For some reason I cant see the body of this ticket....
when using the deleteAny function for bulk delete, how can I prevent allowing the user to be able to delete themselves from that list
I'm curious about this too.
instead of doing it from the policy
maybe prevent it from the action
https://filamentphp.com/docs/3.x/tables/actions#disabling-bulk-actions-for-some-rows
I've found one can probably also do something like in UserResource