Skip to content

Commit

Permalink
Fix: clear local cache also if permission is reset to default
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-rueegg committed Dec 16, 2023
1 parent 98abd0b commit 70a69cd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ public function setGroupState($groupId, $permission, $state)
if ($state === '' || $state === null) {
if ($record !== null) {
$record->delete();
$this->clear();
}
return;
}
Expand Down

0 comments on commit 70a69cd

Please sign in to comment.