setUserGroups(user, params, context);
} else if (operation.equals(Params.Operation.FULLUPDATE) || operation.equals(Params.Operation.EDITINFO)) {
user = userRepository.save(user);
//--- add groups
groupRepository.deleteAllByIdAttribute(UserGroupId_.userId, Arrays.asList(user.getId()));
setUserGroups(user, params, context);
} else if (operation.equals(Params.Operation.RESETPW)) {
user = userRepository.save(user);
} else {