Sorin
Sorin
FFilament
Created by Sorin on 4/9/2024 in #❓┊help
Where is the Filament\Actions\Concerns\CanBeHidden::authorize() method in the documentation ?
Hello. I was looking through Filament's documentation, and I have found no mentions of the authorize() method. I want to use this method to allow only admins to click a certain button in my infolist view, and I'm not sure if the authorize() method only hides the button, or if a non-admin user calls the endpoint, they'll get a 403. Does anybody know where in the docs this method is explained ? Thank you 😄
8 replies