From 33b6e304c2c88baef274df300e289d5279b29f04 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Mon, 8 Jul 2013 14:22:50 -0700 Subject: [PATCH] CLOUDSTACK-3253: Don't allow default ACL lists to be removed --- ui/scripts/vpc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js index cc3e468fad1..cf2d9c2b655 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"); }