WebUI: Add PKINIT status field to 'Configuration' page

- Add 'Server Options' section to the page
- Add 'IPA master capable of PKINIT' field to the 'Server Options'

Ticket: https://pagure.io/freeipa/issue/7305

Signed-off-by: Serhii Tsymbaliuk <stsymbal@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
Serhii Tsymbaliuk 2019-07-23 15:08:12 +02:00 committed by Florence Blanc-Renaud
parent de1fa7cc74
commit 6af723c0c3
2 changed files with 19 additions and 7 deletions

View File

@ -49,6 +49,24 @@ return {
'ipasearchtimelimit'
]
},
{
name: 'server',
label: '@i18n:objects.config.server',
fields: [
{
$type: 'entity_select',
name: 'ca_renewal_master_server',
other_entity: 'server',
other_field: 'cn',
flags: ['w_if_no_aci']
},
{
$type: 'multivalued',
name: 'pkinit_server_server',
read_only: true
}
]
},
{
name: 'user',
label: '@i18n:objects.config.user',
@ -99,13 +117,6 @@ return {
{
$type: 'multivalued',
name: 'ipauserobjectclasses'
},
{
$type: 'entity_select',
name: 'ca_renewal_master_server',
other_entity: 'server',
other_field: 'cn',
flags: ['w_if_no_aci']
}
]
},

View File

@ -726,6 +726,7 @@ class i18n_messages(Command):
"group": _("Group Options"),
"search": _("Search Options"),
"selinux": _("SELinux Options"),
"server": _("Server Options"),
"service": _("Service Options"),
"user": _("User Options"),
},