bug5678: added a first FIXME for the bug

This commit is contained in:
Axel Uhl committed 2022-02-11 17:03:12 +01:00
1 parent fb45a9aab1
commit 4ec01306f3
1 file changed
+1
@@ -660,6 +660,7 @@ public class LandscapeServiceImpl implements LandscapeService {
final UserGroup serverGroup;
if (existingServerGroup == null) {
final UUID serverGroupId = UUID.randomUUID();
// FIXME bug5678: if this runs on a server with separate security realm, using the local security service doesn't help!
serverGroup = getSecurityService().setOwnershipCheckPermissionForObjectCreationAndRevertOnError(SecuredSecurityTypes.USER_GROUP,
new TypeRelativeObjectIdentifier(serverGroupId.toString()), /* securityDisplayName */ serverGroupName,
(Callable<UserGroup>)()->getSecurityService().createUserGroup(serverGroupId, serverGroupName));