Fix account type

This commit is contained in:
nvazquez 2022-08-17 08:28:49 -03:00
parent 79b56e5fc3
commit 6fde47436b
No known key found for this signature in database
GPG Key ID: 656E1BCC8CB54F84
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ public class ConsoleAccessManagerImpl extends ManagerBase implements ConsoleAcce
account.getId() + " and caller is a normal user");
}
} else if ((accountManager.isDomainAdmin(account.getId())
|| account.getType() == Account.Type.READ_ONLY_ADMIN) && s_logger.isDebugEnabled()) {
|| account.getType() == Account.ACCOUNT_TYPE_READ_ONLY_ADMIN) && s_logger.isDebugEnabled()) {
s_logger.debug("VM access is denied. VM owner account " + vm.getAccountId()
+ " does not match the account id in session " + account.getId() + " and the domain-admin caller does not manage the target domain");
}