GUACAMOLE-1856: Correct CREATE_USER vs. CREATE_USER_GROUP check in creation of groups.
This commit is contained in:
1 parent
4defba9728
commit
36b41e7309
1 file changed
+1
-1
+1
-1
@@ -121,7 +121,7 @@ public class UserGroupService extends ModeledDirectoryObjectService<ModeledUserG
|
||||
|
||||
// Return whether user has explicit user group creation permission
|
||||
SystemPermissionSet permissionSet = user.getUser().getEffectivePermissions().getSystemPermissions();
|
||||
return permissionSet.hasPermission(SystemPermission.Type.CREATE_USER);
|
||||
return permissionSet.hasPermission(SystemPermission.Type.CREATE_USER_GROUP);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user