Custom permission use filament shield

I am unable to create a permission to attach a new resource to a specific resource in filament v4. I have tried using getPermissionPrefixes() in resource
public static function getPermissionPrefixes(): array
{
return [
'view',
'view_any',
'create',
'update',
'delete',
'approve',
];
}
public static function getPermissionPrefixes(): array
{
return [
'view',
'view_any',
'create',
'update',
'delete',
'approve',
];
}
But I see it doesn't run into this function.
1 Reply
toeknee
toeknee4w ago
please ask in #bezhansalleh-shield

Did you find this page helpful?