CLOUDSTACK-3253: Don't allow default ACL lists to be removed

This commit is contained in:
Brian Federle 2013-07-08 14:22:50 -07:00
parent a03eeae59c
commit 33b6e304c2

View File

@ -1122,7 +1122,7 @@
data: items,
actionFilter: function(args) {
var allowedActions = [];
if(isAdmin()) {
if(isAdmin() && items.vpcid) {
allowedActions.push("remove");
}