return;
}
for (GeoServerUserGroup userGroup : userGroups) {
if (!groups.contains(userGroup.getGroupname())) {
String msg = new UserGroupServiceException(USER_IN_OTHER_GROUP_NOT_MODIFIABLE_$1,
new Object[]{user}).getMessage();
throw new IOException(msg);
}
}
}