mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-13 14:12:11 +00:00
bug5239: fixed problem with cleaning up ACLs after removing UserGroup
This commit is contained in:
1 parent
c907c2706e
commit
2155b7d2d3
1 file changed
+1
-1
+1
-1
@@ -414,11 +414,11 @@ public class AccessControlStoreImpl implements AccessControlStore {
|
||||
}
|
||||
userGroupToOwnership.remove(effectiveUserGroup);
|
||||
}
|
||||
|
||||
Set<AccessControlListAnnotation> knownACLEntries = userGroupToAccessControlListAnnotation
|
||||
.get(effectiveUserGroup);
|
||||
if (knownACLEntries != null) {
|
||||
for (AccessControlListAnnotation acl : knownACLEntries) {
|
||||
acl.getAnnotation().setPermissions(effectiveUserGroup, Collections.emptySet());
|
||||
internalRemoveUserGroupToACLMapping(effectiveUserGroup, acl);
|
||||
mongoObjectFactory.storeAccessControlList(acl);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user