mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	CLOUDSTACK-4269: UI > account page > hide Setting tab for regular-user/domain-admin since they don't have access to listConfigurations API.
This commit is contained in:
		
							parent
							
								
									9e3aa37a8d
								
							
						
					
					
						commit
						641fb1c24e
					
				| @ -736,6 +736,14 @@ | |||||||
| 
 | 
 | ||||||
|                         }, |                         }, | ||||||
|                          |                          | ||||||
|  |                         tabFilter: function(args) { | ||||||
|  |                         	var hiddenTabs = []; | ||||||
|  |                         	if(!isAdmin()) { | ||||||
|  |                         		hiddenTabs.push('settings'); | ||||||
|  |                         	}                        	 | ||||||
|  |                         	return hiddenTabs; | ||||||
|  |                         }, | ||||||
|  | 
 | ||||||
|                         tabs: { |                         tabs: { | ||||||
|                             details: { |                             details: { | ||||||
|                                 title: 'label.details', |                                 title: 'label.details', | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user