mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-16 07:10:48 +00:00
bug5678: added a first FIXME for the bug
This commit is contained in:
1 parent
fb45a9aab1
commit
4ec01306f3
1 file changed
+1
+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));
|
||||
|
||||
Reference in new issue
Block a user