You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/07/09 22:46:15 UTC

[33/50] [abbrv] git commit: updated refs/heads/ui-ucs to 9334dab

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/ui-ucs
Commit: 33b6e304c2c88baef274df300e289d5279b29f04
Parents: a03eeae
Author: Brian Federle <br...@citrix.com>
Authored: Mon Jul 8 14:22:50 2013 -0700
Committer: Brian Federle <br...@citrix.com>
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");
 
                         }