mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7964: listAccounts API is not listing correct value of resource limits.
This commit is contained in:
parent
c615aafd77
commit
d475b62838
|
|
@ -75,7 +75,7 @@ public class AccountJoinDaoImpl extends GenericDaoBase<AccountJoinVO, Long> impl
|
|||
accountResponse.setBytesReceived(account.getBytesReceived());
|
||||
accountResponse.setBytesSent(account.getBytesSent());
|
||||
|
||||
boolean fullView = (view == ResponseView.Full);
|
||||
boolean fullView = (view == ResponseView.Full && _acctMgr.isRootAdmin(account.getId()));
|
||||
setResourceLimits(account, fullView, accountResponse);
|
||||
|
||||
//get resource limits for projects
|
||||
|
|
|
|||
Loading…
Reference in New Issue