CS-15300 Limits on domain admin accounts

Reviewed-by: devdeep.singh@citrix.com

change: fix for listResourceLimits
This commit is contained in:
Deepti Dohare 2012-07-02 20:05:24 +05:30
parent 7c7aab9807
commit 4840918cfb
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ public class ResourceLimitManagerImpl implements ResourceLimitService, Manager {
List<ResourceLimitVO> limits = new ArrayList<ResourceLimitVO>();
boolean isAccount = true;
if (!_accountMgr.isRootAdmin(caller.getType())) {
if (!_accountMgr.isAdmin(caller.getType())) {
accountId = caller.getId();
domainId = null;
} else {