Version 0.7.0 #1
@ -29,6 +29,6 @@ final readonly class RolePolicy extends Policy
|
||||
|
||||
public function delete(User $user, Role $role): bool
|
||||
{
|
||||
return $user->hasPermission('Role.delete');
|
||||
return $user->hasPermission('role.delete');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user