Commit c844f71b authored by michael.simon's avatar michael.simon
Browse files

Change primaray group not propargated to changed groups

parent 238dced2
......@@ -198,12 +198,14 @@ public class HomeOrgGroupUpdater implements Serializable {
auditor.logAction(user.getEppn(), "UPDATE FIELD", "primaryGroup",
user.getPrimaryGroup().getName() + " (" + user.getPrimaryGroup().getGidNumber() + ") -> " +
group.getName() + " (" + group.getGidNumber() + ")", AuditStatus.SUCCESS);
changedGroups.add(group);
}
}
else if (user.getPrimaryGroup() == null && group != null) {
auditor.logAction(user.getEppn(), "UPDATE FIELD", "primaryGroup",
"null -> " +
group.getName() + " (" + group.getGidNumber() + ")", AuditStatus.SUCCESS);
changedGroups.add(group);
}
user.setPrimaryGroup(group);
......
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