mirror of
https://github.com/apache/cloudstack
synced 2026-08-11 16:31:22 +00:00
CLOUDSTACK-7964: listAccounts API is not listing correct value of resource limits.
(cherry picked from commit d475b62838)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
bc4dca71c8
commit
b77cbea0f3
@ -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
Block a user