Skip to content

Commit

Permalink
Fix entity resolution.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebronner committed Jul 1, 2022
1 parent 8a6b3ad commit d6ff5e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Middleware/ParseCustomPolicyActions.php
Expand Up @@ -67,7 +67,7 @@ protected function registerCustomPolicyActions(): void
]);
(new $permissionClass)->firstOrCreate([
"role_name" => "SuperAdmin",
"entity_name" => $entity,
"entity_name" => $action->entity,
"action_name" => $action->name,
"ownership_name" => "any",
]);
Expand Down

0 comments on commit d6ff5e3

Please sign in to comment.