mirror of https://github.com/apache/cloudstack.git
bug 13023: fixed listAccounts to return all accounts the user is authorized to see
status 13023: resolved fixed
This commit is contained in:
parent
6e194859de
commit
a5900368b6
|
|
@ -1817,6 +1817,7 @@ public class AccountManagerImpl implements AccountManager, AccountService, Manag
|
|||
if (accountId == null) {
|
||||
if (isAdmin(caller.getType()) && listAll && domainId == null) {
|
||||
listForDomain = true;
|
||||
isRecursive = true;
|
||||
if (domainId == null) {
|
||||
domainId = caller.getDomainId();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue