mirror of https://github.com/apache/cloudstack.git
ACL multi-edit: add 'action' field to specify rule as allow/deny
This commit is contained in:
parent
a1614a5f8f
commit
034c21b6fc
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue