Skip to content

Commit 641fb1c

Browse files
author
Jessica Wang
committed
CLOUDSTACK-4269: UI > account page > hide Setting tab for regular-user/domain-admin since they don't have access to listConfigurations API.
1 parent 9e3aa37 commit 641fb1c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

ui/scripts/accounts.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,14 @@
735735
}
736736

737737
},
738+
739+
tabFilter: function(args) {
740+
var hiddenTabs = [];
741+
if(!isAdmin()) {
742+
hiddenTabs.push('settings');
743+
}
744+
return hiddenTabs;
745+
},
738746

739747
tabs: {
740748
details: {

0 commit comments

Comments
 (0)