mirror of
https://github.com/apache/cloudstack
synced 2026-09-03 18:59:29 +00:00
bug 13030: IP address page - Make EnableVPN action available in any type of IP, instead of only sourceNAT IP.
This commit is contained in:
parent
504af05df4
commit
c9795a33f6
@ -52,10 +52,7 @@
|
||||
disallowedActions.push('enableStaticNAT');
|
||||
disallowedActions.push('disableStaticNAT');
|
||||
disallowedActions.push('destroy');
|
||||
} else {
|
||||
disallowedActions.push('enableVPN');
|
||||
disallowedActions.push('disableVPN');
|
||||
}
|
||||
}
|
||||
|
||||
allowedActions = $.grep(allowedActions, function(item) {
|
||||
return $.inArray(item, disallowedActions) == -1;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user