Fixed typo deleting RolePolicy: Role to role.
This commit is contained in:
parent
52c6fd88d7
commit
73d99a0432
@ -29,6 +29,6 @@ final readonly class RolePolicy extends Policy
|
|||||||
|
|
||||||
public function delete(User $user, Role $role): bool
|
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