mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-21 21:25:38 +00:00
bug5454: setting userGroupProvider on UserImpl to local UserStoreImpl when migrating from de-serialized UserStoreImpl to local store
This commit is contained in:
+2
-1
@@ -490,7 +490,8 @@ public class UserStoreImpl implements UserStore {
|
||||
roleDefinitions.put(roleDefinition.getId(), roleDefinition);
|
||||
}
|
||||
LockUtil.executeWithWriteLock(preferenceLock, () -> {
|
||||
for (User user : newUserStore.getUsers()) {
|
||||
for (final User user : newUserStore.getUsers()) {
|
||||
user.setUserGroupProvider(this);
|
||||
users.put(user.getName(), user);
|
||||
addToUsersByEmail(user);
|
||||
for (Entry<String, String> userPref : newUserStore.getAllPreferences(user.getName()).entrySet()) {
|
||||
|
||||
Reference in New Issue
Block a user