Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
reg-app
Regapp
Commits
21810d0a
Commit
21810d0a
authored
Mar 25, 2015
by
michael.simon
Browse files
check as before groups
parent
14b9adc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
bwreg-service/src/main/java/edu/kit/scc/webreg/service/impl/UserUpdateServiceImpl.java
View file @
21810d0a
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment