mirror of https://github.com/apache/cloudstack.git
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.
This commit is contained in:
parent
0082b8435a
commit
15c88cad37
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue