mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge pull request #685 from Megala21/test_case_fixes
Fixes https://github.com/wso2/product-iots/issues/346
This commit is contained in:
commit
7bcc47587c
@ -238,6 +238,7 @@ public class UserManagementServiceImpl implements UserManagementService {
|
||||
}
|
||||
}
|
||||
rolesToDelete.remove(ROLE_EVERYONE);
|
||||
rolesToAdd.remove(ROLE_EVERYONE);
|
||||
userStoreManager.updateRoleListOfUser(username,
|
||||
rolesToDelete.toArray(new String[rolesToDelete.size()]),
|
||||
rolesToAdd.toArray(new String[rolesToAdd.size()]));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user