From 15c88cad373b6b01df79b7dd25be02d94ead0938 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Mon, 7 Feb 2011 16:40:41 -0800 Subject: [PATCH] bug 8413: IP Address page - fix a bug that domain admin can't see PF/LB tabs of Source NAT IP created by sub-domain user. --- ui/scripts/cloud.core.ipaddress.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/scripts/cloud.core.ipaddress.js b/ui/scripts/cloud.core.ipaddress.js index 6dedb12ebb4..71ef6838f2e 100644 --- a/ui/scripts/cloud.core.ipaddress.js +++ b/ui/scripts/cloud.core.ipaddress.js @@ -416,7 +416,7 @@ function ipToMidmenu(jsonObj, $midmenuItem1) { } function isIpManageable(domainid, account) { - if(((g_domainid == domainid && g_account == account) || (g_domainid == domainid && isDomainAdmin()) || (isAdmin())) + if(((g_domainid == domainid && g_account == account) || (isDomainAdmin()) || (isAdmin())) && account!="system") return true; else