From 5b0dbe7e5996ef95301c5fdd530f2e2a18757f04 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Thu, 9 Jun 2016 12:04:05 +0300 Subject: [PATCH] webui: show UPN suffixes in trust properties https://fedorahosted.org/freeipa/ticket/5937 Reviewed-By: Pavel Vomacka --- install/ui/src/freeipa/trust.js | 13 ++++++++++++- ipaserver/plugins/internal.py | 1 + 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/install/ui/src/freeipa/trust.js b/install/ui/src/freeipa/trust.js index f26e2f21b..fde7ff207 100644 --- a/install/ui/src/freeipa/trust.js +++ b/install/ui/src/freeipa/trust.js @@ -141,6 +141,17 @@ return { } ] }, + { + name: 'suffixes', + label: '@i18n:objects.trust.ipantadditionalsuffixes', + fields: [ + { + $type: 'multivalued', + name: 'ipantadditionalsuffixes', + read_only: true + }, + ] + }, { name: 'blacklists', label: '@i18n:objects.trust.blacklists', @@ -446,4 +457,4 @@ phases.on('registration', IPA.trust.register); phases.on('profile', exp.remove_menu_item, 20); return exp; -}); \ No newline at end of file +}); diff --git a/ipaserver/plugins/internal.py b/ipaserver/plugins/internal.py index 4804f64a0..c44c260f5 100644 --- a/ipaserver/plugins/internal.py +++ b/ipaserver/plugins/internal.py @@ -747,6 +747,7 @@ class i18n_messages(Command): "trustdirection": _("Trust direction"), "truststatus": _("Trust status"), "trusttype": _("Trust type"), + "ipantadditionalsuffixes": _("Alternative UPN suffixes"), }, "trustconfig": { "options": _("Options"),