summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/service.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-03-22 17:54:12 +0100
committerPetr Vobornik <pvoborni@redhat.com>2013-03-29 17:12:25 +0100
commit661f41e197779ac48e9f37f201080504962c8bed (patch)
treee83f5092162668bafef42a8e70ca1c1712f13259 /install/ui/src/freeipa/service.js
parent04325fbb4c64ee4aef6d8c9adf0ff95b8b653101 (diff)
downloadfreeipa-661f41e197779ac48e9f37f201080504962c8bed.tar.gz
freeipa-661f41e197779ac48e9f37f201080504962c8bed.tar.xz
freeipa-661f41e197779ac48e9f37f201080504962c8bed.zip
Added Web UI support for service PAC type option: NONE
ipakrbauthzdata accepts [null, 'NONE', 'MS-PAC, 'PAD'] New nesting feature of radios/checkboxes was used to handle mutual exclusivity between ['MS-PAC', 'PAD'], 'NONE' and ''. https://fedorahosted.org/freeipa/ticket/3404
Diffstat (limited to 'install/ui/src/freeipa/service.js')
-rw-r--r--install/ui/src/freeipa/service.js30
1 files changed, 27 insertions, 3 deletions
diff --git a/install/ui/src/freeipa/service.js b/install/ui/src/freeipa/service.js
index c38cfef1b..62c025340 100644
--- a/install/ui/src/freeipa/service.js
+++ b/install/ui/src/freeipa/service.js
@@ -71,8 +71,32 @@ IPA.service.entity = function(spec) {
},
{
name: 'ipakrbauthzdata',
- type: 'checkboxes',
- options: IPA.create_options(['MS-PAC', 'PAD'])
+ type: 'radio',
+ layout: 'vertical',
+ options: [
+ {
+ label: IPA.messages.krbauthzdata.inherited,
+ value: ''
+ },
+ {
+ label: IPA.messages.krbauthzdata.override,
+ name: 'ipakrbauthzdata_override',
+ factory: IPA.option_widget_base,
+ input_type: 'checkbox',
+ value: 'NONE',
+ combine_values: false,
+ options: [
+ {
+ label: IPA.messages.krbauthzdata.mspac,
+ value: 'MS-PAC'
+ },
+ {
+ label: IPA.messages.krbauthzdata.pad,
+ value: 'PAD'
+ }
+ ]
+ }
+ ]
}
]
},
@@ -483,4 +507,4 @@ IPA.service.certificate_policy = function(spec) {
IPA.register('service', IPA.service.entity);
return {};
-}); \ No newline at end of file
+});