mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	CLOUDSTACK-7964: listAccounts API is not listing correct value of resource limits.
(cherry picked from commit d475b62838878677531d6daab667757baf63604e) 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.setBytesReceived(account.getBytesReceived()); | ||||||
|         accountResponse.setBytesSent(account.getBytesSent()); |         accountResponse.setBytesSent(account.getBytesSent()); | ||||||
| 
 | 
 | ||||||
|         boolean fullView = (view == ResponseView.Full); |         boolean fullView = (view == ResponseView.Full && _acctMgr.isRootAdmin(account.getId())); | ||||||
|         setResourceLimits(account, fullView, accountResponse); |         setResourceLimits(account, fullView, accountResponse); | ||||||
| 
 | 
 | ||||||
|         //get resource limits for projects |         //get resource limits for projects | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user