mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +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
@ -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…
x
Reference in New Issue
Block a user