cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [33/50] [abbrv] git commit: updated refs/heads/ui-ucs to 9334dab
Date Tue, 09 Jul 2013 20:46:15 GMT
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 <brian.federle@citrix.com>
Authored: Mon Jul 8 14:22:50 2013 -0700
Committer: Brian Federle <brian.federle@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");
 
                         }


Mime
View raw message