mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
CS-15962:InterVlan-Router details tabs to be visible only for admin and hidden for regular accounts
This commit is contained in:
parent
2f1c835550
commit
938498c7fe
@ -3824,6 +3824,15 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
tabFilter:function(args) {
|
||||
var hiddenTabs=[];
|
||||
var isRouterOwner = isAdmin() ;
|
||||
if(!isRouterOwner)
|
||||
hiddenTabs.push("router");
|
||||
return hiddenTabs;
|
||||
},
|
||||
|
||||
tabs: {
|
||||
details: {
|
||||
title: 'label.details',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user