ACL multi-edit: add 'action' field to specify rule as allow/deny

This commit is contained in:
Brian Federle 2013-05-20 13:32:46 -07:00
parent a1614a5f8f
commit 034c21b6fc
1 changed files with 11 additions and 0 deletions

View File

@ -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) {