mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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
This commit is contained in:
@@ -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 {};
|
||||
});
|
||||
});
|
||||
|
||||
@@ -131,6 +131,12 @@
|
||||
"search": "Search"
|
||||
},
|
||||
"false": "False",
|
||||
"krbauthzdata": {
|
||||
"inherited": "Inherited from server configuration",
|
||||
"mspac": "MS-PAC",
|
||||
"override": "Override inherited settings",
|
||||
"pad": "PAD"
|
||||
},
|
||||
"login": {
|
||||
"form_auth": "To login with username and password, enter them in the fields below then click Login.",
|
||||
"header": "Logged In As",
|
||||
|
||||
@@ -266,6 +266,12 @@ class i18n_messages(Command):
|
||||
"search": _("Search"),
|
||||
},
|
||||
"false": _("False"),
|
||||
"krbauthzdata": {
|
||||
"inherited": _("Inherited from server configuration"),
|
||||
"mspac": _("MS-PAC"),
|
||||
"override": _("Override inherited settings"),
|
||||
"pad": _("PAD"),
|
||||
},
|
||||
"login": {
|
||||
"form_auth": _("To login with username and password, enter them in the fields below then click Login."),
|
||||
"header": _("Logged In As"),
|
||||
|
||||
Reference in New Issue
Block a user