© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
4 replies
andis

Authorize an action

I'm using an action in a Livewire component. I'm trying to authorize the action, for example a user is allowed to delete a model.

I know I can hide or disable the action but that does not stop the 'selectedTableRecords' being changed or the 'mountTableAction' being tampered with.

What is the best way to check the user has authorization to perform the action given the action parameters?
Solution
There's also
->authorize()
->authorize()
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Action authorize() method not working
FilamentFFilament / ❓┊help
6mo ago
Form actions must be an instance of Filament\Actions\Action, or Filament\Actions\ActionGroup.
FilamentFFilament / ❓┊help
3y ago
Open an action from another action
FilamentFFilament / ❓┊help
3y ago
ActionGroup Action caching custom view
FilamentFFilament / ❓┊help
9mo ago