From 73786c373a83c845f929ff7d57221201571fe213 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 d5a02f63065..edf08696159 100644 --- a/ui/scripts/vpc.js +++ b/ui/scripts/vpc.js @@ -1115,7 +1115,7 @@ data: items, actionFilter: function(args) { var allowedActions = []; - if(isAdmin()) { + if(isAdmin() && items.vpcid) { allowedActions.push("remove"); }