590d18
From 85a5f70811b223edf86ce395b9ec781e788758d1 Mon Sep 17 00:00:00 2001
590d18
From: Petr Vobornik <pvoborni@redhat.com>
590d18
Date: Tue, 25 Aug 2015 17:17:04 +0200
590d18
Subject: [PATCH] webui: add option to establish bidirectional trust
590d18
590d18
https://fedorahosted.org/freeipa/ticket/5259
590d18
590d18
Reviewed-By: Tomas Babej <tbabej@redhat.com>
590d18
---
590d18
 install/ui/src/freeipa/trust.js | 13 ++++++++++++-
590d18
 1 file changed, 12 insertions(+), 1 deletion(-)
590d18
590d18
diff --git a/install/ui/src/freeipa/trust.js b/install/ui/src/freeipa/trust.js
590d18
index 51cfefb99fe10010385b528af209ad535e88b673..f26e2f21b7c8a97536a0a5cb23484da4173d6463 100644
590d18
--- a/install/ui/src/freeipa/trust.js
590d18
+++ b/install/ui/src/freeipa/trust.js
590d18
@@ -172,6 +172,12 @@ return {
590d18
                 widget: 'realm.realm_server'
590d18
             },
590d18
             {
590d18
+                $type: 'checkbox',
590d18
+                name: 'bidirectional',
590d18
+                metadata: '@mc-opt:trust_add:bidirectional',
590d18
+                widget: 'realm.bidirectional'
590d18
+            },
590d18
+            {
590d18
                 name: 'realm_admin',
590d18
                 label: '@i18n:objects.trust.account',
590d18
                 widget: 'method.realm_admin'
590d18
@@ -224,7 +230,12 @@ return {
590d18
                 $type: 'details_section',
590d18
                 name: 'realm',
590d18
                 widgets: [
590d18
-                    'realm_server'
590d18
+                    'realm_server',
590d18
+                    {
590d18
+                        $type: 'checkbox',
590d18
+                        name: 'bidirectional',
590d18
+                        tooltip: '@mc-opt:trust_add:bidirectional:doc'
590d18
+                    }
590d18
                 ]
590d18
             },
590d18
             {
590d18
-- 
590d18
2.4.3
590d18