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:56:15 +05:30
parent 2f1c835550
commit 938498c7fe

View File

@ -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',