bug 13023: fixed listAccounts to return all accounts the user is authorized to see

status 13023: resolved fixed
This commit is contained in:
Alena Prokharchyk 2012-01-16 11:44:26 -08:00
parent 6e194859de
commit a5900368b6
1 changed files with 1 additions and 0 deletions

View File

@ -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();
}