Skip to content

Commit

Permalink
Octane: Clear wildcard permissions on Tick (#2583)
Browse files Browse the repository at this point in the history
Fixes #2575
  • Loading branch information
drbyte committed Dec 24, 2023
1 parent f518fd5 commit 4d11998
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PermissionRegistrar.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ public function getWildcardPermissionIndex(Model $record): array
public function clearPermissionsCollection(): void
{
$this->permissions = null;
$this->wildcardPermissionsIndex = [];
}

/**
Expand Down

0 comments on commit 4d11998

Please sign in to comment.