mirror of https://github.com/apache/cloudstack.git
CS-15300 Limits on domain admin accounts
Reviewed-by: devdeep.singh@citrix.com change: fix for listResourceLimits
This commit is contained in:
parent
7c7aab9807
commit
4840918cfb
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue