Updated Branches: refs/heads/master a03eeae59 -> 33b6e304c
CLOUDSTACK-3253: Don't allow default ACL lists to be removed Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/33b6e304 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/33b6e304 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/33b6e304 Branch: refs/heads/master Commit: 33b6e304c2c88baef274df300e289d5279b29f04 Parents: a03eeae Author: Brian Federle <[email protected]> Authored: Mon Jul 8 14:22:50 2013 -0700 Committer: Brian Federle <[email protected]> Committed: Mon Jul 8 14:22:50 2013 -0700 ---------------------------------------------------------------------- ui/scripts/vpc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33b6e304/ui/scripts/vpc.js ---------------------------------------------------------------------- diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js index cc3e468..cf2d9c2 100644 --- a/ui/scripts/vpc.js +++ b/ui/scripts/vpc.js @@ -1122,7 +1122,7 @@ data: items, actionFilter: function(args) { var allowedActions = []; - if(isAdmin()) { + if(isAdmin() && items.vpcid) { allowedActions.push("remove"); }
