From a5900368b6b20aef30f7ac18b86bf327424573ba Mon Sep 17 00:00:00 2001 From: Alena Prokharchyk Date: Mon, 16 Jan 2012 11:44:26 -0800 Subject: [PATCH] bug 13023: fixed listAccounts to return all accounts the user is authorized to see status 13023: resolved fixed --- server/src/com/cloud/user/AccountManagerImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/com/cloud/user/AccountManagerImpl.java b/server/src/com/cloud/user/AccountManagerImpl.java index d153f465fd9..46abfee1450 100755 --- a/server/src/com/cloud/user/AccountManagerImpl.java +++ b/server/src/com/cloud/user/AccountManagerImpl.java @@ -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(); }