Skip to content

Commit eb0caf1

Browse files
committed
CS-16218: Only show VPC router details for ROOT admin
1 parent 7272b8d commit eb0caf1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ui/scripts/network.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3835,7 +3835,7 @@
38353835

38363836
tabFilter:function(args) {
38373837
var hiddenTabs=[];
3838-
var isRouterOwner = isAdmin() || isDomainAdmin();
3838+
var isRouterOwner = isAdmin();
38393839
if(!isRouterOwner)
38403840
hiddenTabs.push("router");
38413841
return hiddenTabs;

ui/scripts/ui-custom/vpc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@
498498
})
499499
});
500500

501-
if (!isAdmin() && !isDomainAdmin()) $router.addClass('disabled');
501+
if (!isAdmin()) $router.addClass('disabled');
502502

503503
var $chart = $('<div>').addClass('vpc-chart');
504504
var $title = $('<div>').addClass('vpc-title')

0 commit comments

Comments
 (0)