Skip to content

Commit 476d43e

Browse files
committed
Fix update account
1 parent 4c17c82 commit 476d43e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎server/src/main/java/com/cloud/user/AccountManagerImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2356,8 +2356,8 @@ public AccountVO updateAccount(UpdateAccountCmd cmd) {
23562356
validateRoleChange(account, role, caller);
23572357
acctForUpdate.setRoleId(roleId);
23582358
acctForUpdate.setType(role.getRoleType().getAccountType());
2359-
refreshRoleCheckersCacheOnPermissionsChange(role);
23602359
checkRoleEscalation(getCurrentCallingAccount(), acctForUpdate);
2360+
refreshRoleCheckersCacheOnPermissionsChange(role);
23612361
}
23622362

23632363
if (networkDomain != null) {

0 commit comments

Comments
 (0)