Apply permissions on Relationship Manager Actions
Is there a way we can conditionally show Relationship manager actions like Delete. For non admins, I want them to be able to only attach and detach. But for admins I also want to show Delete/add new. Right now I have enabled all 3 actions and is showing up for everyone.
1 Reply
You can use policies
https://filamentphp.com/docs/2.x/admin/resources/getting-started#authorization
You can also use in the actions something like this
Filament
Getting started - Resources - Admin Panel - Filament
The elegant TALL stack admin panel for Laravel artisans.