mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-13 22:15:26 +00:00
Fixed NPE
This commit is contained in:
1 parent
6214b25615
commit
5daf0b99aa
1 file changed
+1
-1
@@ -529,7 +529,7 @@ public class SecurityServiceImpl implements ReplicableSecurityService, ClearStat
|
||||
if (getAccessControlList(idOfAccessControlledObject) == null) {
|
||||
setEmptyAccessControlList(idOfAccessControlledObject);
|
||||
}
|
||||
final UUID groupId = group.getId();
|
||||
final UUID groupId = group == null ? null : group.getId();
|
||||
apply(s->s.internalAclAddPermission(idOfAccessControlledObject, groupId, action));
|
||||
return accessControlStore.getAccessControlList(idOfAccessControlledObject).getAnnotation();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user