diff --git a/app/Policies/RolePolicy.php b/app/Policies/RolePolicy.php index 2b3f208..f329474 100644 --- a/app/Policies/RolePolicy.php +++ b/app/Policies/RolePolicy.php @@ -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'); } }