Commit 21810d0a authored by michael.simon's avatar michael.simon
Browse files

check as before groups

parent 14b9adc6
......@@ -153,6 +153,11 @@ public class UserUpdateServiceImpl implements UserUpdateService {
user.setLastStatusChange(new Date());
}
List<ASUserAttrEntity> asUserAttrList = asUserAttrService.findForUser(user);
for (ASUserAttrEntity asUserAttr : asUserAttrList) {
changed |= attributeSourceQueryService.updateUserAttributes(user, asUserAttr.getAttributeSource(), executor);
}
Set<GroupEntity> changedGroups = homeOrgGroupService.updateGroupsForUser(user, attributeMap, auditor);
if (changedGroups.size() > 0) {
......@@ -166,11 +171,6 @@ public class UserUpdateServiceImpl implements UserUpdateService {
}
}
List<ASUserAttrEntity> asUserAttrList = asUserAttrService.findForUser(user);
for (ASUserAttrEntity asUserAttr : asUserAttrList) {
changed |= attributeSourceQueryService.updateUserAttributes(user, asUserAttr.getAttributeSource(), executor);
}
user.setLastUpdate(new Date());
user.setLastFailedUpdate(null);
user.setGroups(null);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment