mirror of https://github.com/apache/cloudstack.git
CS-15962:InterVlan-Router details tabs to be visible only for admin and hidden for regular accounts
This commit is contained in:
parent
a24a8599d0
commit
35c35f5410
|
|
@ -3823,7 +3823,16 @@
|
|||
poll: pollAsyncJobResult
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
tabFilter:function(args) {
|
||||
var hiddenTabs=[];
|
||||
var isRouterOwner = isAdmin() ;
|
||||
if(!isRouterOwner)
|
||||
hiddenTabs.push("router");
|
||||
return hiddenTabs;
|
||||
},
|
||||
|
||||
tabs: {
|
||||
details: {
|
||||
title: 'label.details',
|
||||
|
|
|
|||
Loading…
Reference in New Issue