summaryrefslogtreecommitdiffstats
path: root/install/ui/src
diff options
context:
space:
mode:
authorPavel Vomacka <pvomacka@redhat.com>2016-06-28 15:35:59 +0200
committerPetr Vobornik <pvoborni@redhat.com>2016-06-30 13:42:58 +0200
commit55049fceb978f2e20b13800b77775377428de386 (patch)
tree36e0ed35e2dc75c6ee4e18835c9a62119cf2b54a /install/ui/src
parent0855b014b1edcb1632a41e380220abd7bb5e481a (diff)
downloadfreeipa-55049fceb978f2e20b13800b77775377428de386.tar.gz
freeipa-55049fceb978f2e20b13800b77775377428de386.tar.xz
freeipa-55049fceb978f2e20b13800b77775377428de386.zip
Add authentication identificator to host page
Also move strings which are connected with authentication indicators to authtype dict. This place is more general than have them in service dict. It's nicer when these strings are not used only on service page. Part of: https://fedorahosted.org/freeipa/ticket/5872 Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
Diffstat (limited to 'install/ui/src')
-rw-r--r--install/ui/src/freeipa/host.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/install/ui/src/freeipa/host.js b/install/ui/src/freeipa/host.js
index 677da96f2..ba8d0f2a5 100644
--- a/install/ui/src/freeipa/host.js
+++ b/install/ui/src/freeipa/host.js
@@ -109,6 +109,26 @@ return {
flags: ['w_if_no_aci']
},
{
+ $type: 'custom_checkboxes',
+ label: '@i18n:authtype.auth_indicators',
+ name: 'krbprincipalauthind',
+ add_dialog_title: '@i18n:authtype.custom_auth_ind_title',
+ add_field_label: '@i18n:authtype.auth_indicator',
+ options: [
+ {
+ label: '@i18n:authtype.otp',
+ value: 'otp'
+ },
+ {
+ label: '@i18n:authtype.type_radius',
+ value: 'radius'
+ }
+ ],
+ tooltip: {
+ title: '@mc-opt:host_add:krbprincipalauthind:doc'
+ }
+ },
+ {
name: 'ipakrbokasdelegate',
$type: 'checkbox',
acl_param: 'krbticketflags',