Updated Branches: refs/heads/master 2e8d1264a -> b03e419bf
ACL multi-edit: add 'action' field to specify rule as allow/deny Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/034c21b6 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/034c21b6 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/034c21b6 Branch: refs/heads/master Commit: 034c21b6fc173deeb003d1ef2473c4c47c5bad4a Parents: a1614a5 Author: Brian Federle <bfede...@gmail.com> Authored: Mon May 20 13:32:46 2013 -0700 Committer: Brian Federle <bfede...@gmail.com> Committed: Mon May 20 13:32:46 2013 -0700 ---------------------------------------------------------------------- ui/scripts/vpc.js | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/034c21b6/ui/scripts/vpc.js ---------------------------------------------------------------------- diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js index 08cf82d..ce2334c 100644 --- a/ui/scripts/vpc.js +++ b/ui/scripts/vpc.js @@ -36,6 +36,17 @@ }, fields: { 'cidrlist': { edit: true, label: 'label.cidr' }, + action: { + label: 'Action', + select: function(args) { + args.response.success({ + data: [ + { name: 'Allow', description: 'Allow' }, + { name: 'Deny', description: 'Deny' } + ] + }); + } + }, 'protocol': { label: 'label.protocol', select: function(args) {