CS-15962:InterVlan-Router details tabs to be visible only for admin and hidden for regular accounts

This commit is contained in:
Pranav Saxena 2012-08-16 16:51:09 +05:30
parent 86f2508186
commit 20c5cd720d
1 changed files with 10 additions and 0 deletions

View File

@ -3872,6 +3872,16 @@
}
}
},
tabFilter:function(args) {
var hiddenTabs=[];
var isRouterOwner = isAdmin() ;
if(!isRouterOwner)
hiddenTabs.push("router");
return hiddenTabs;
},
tabs: {
details: {
title: 'label.details',