Skip to content

Commit

Permalink
Ensure utilities are booted in CorePermissions
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Nov 27, 2023
1 parent 6a60c55 commit 5c4b282
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Auth/CorePermissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ protected function registerForms()

protected function registerUtilities()
{
Utility::boot();

Utility::all()->each(function ($utility) {
Permission::register("access {$utility->handle()} utility", function ($perm) use ($utility) {
return $perm
Expand Down

0 comments on commit 5c4b282

Please sign in to comment.