gremki
Can Anyone help me with policy ?
By default policy in Filament is actually the policy rule set by Laravel:
https://laravel.com/docs/11.x/authorization#registering-policies
To customize this, go to your
PanelProvider
boot()
method and add something like this:
This will follow same policy structure same as in model.7 replies
Extra route parameter for a resource
it's
filament.adminhub.resources.geography.sub-destinations.index
and the result is:
GET|HEAD adminhub/geography/sub-destinations/{parent} ...................... filament.adminhub.resources.geography.sub-destinations.index › App\Filament\Admin\Resources\Geography\SubDestinationResource\Pages\ListSubDestinations13 replies