Authorization with Livewire Component

Can it authorize automatically from policies when a table/form/action is added to the livewire component? πŸ€”
Solution:
can be done like this
Action::make('edit')
->authorize('update')
Action::make('edit')
->authorize('update')
...
Jump to solution
1 Reply
Solution
Punyapal Shah
Punyapal Shahβ€’6d ago
can be done like this
Action::make('edit')
->authorize('update')
Action::make('edit')
->authorize('update')

Did you find this page helpful?