Blob Blame History Raw
From 85a5f70811b223edf86ce395b9ec781e788758d1 Mon Sep 17 00:00:00 2001
From: Petr Vobornik <pvoborni@redhat.com>
Date: Tue, 25 Aug 2015 17:17:04 +0200
Subject: [PATCH] webui: add option to establish bidirectional trust

https://fedorahosted.org/freeipa/ticket/5259

Reviewed-By: Tomas Babej <tbabej@redhat.com>
---
 install/ui/src/freeipa/trust.js | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/install/ui/src/freeipa/trust.js b/install/ui/src/freeipa/trust.js
index 51cfefb99fe10010385b528af209ad535e88b673..f26e2f21b7c8a97536a0a5cb23484da4173d6463 100644
--- a/install/ui/src/freeipa/trust.js
+++ b/install/ui/src/freeipa/trust.js
@@ -172,6 +172,12 @@ return {
                 widget: 'realm.realm_server'
             },
             {
+                $type: 'checkbox',
+                name: 'bidirectional',
+                metadata: '@mc-opt:trust_add:bidirectional',
+                widget: 'realm.bidirectional'
+            },
+            {
                 name: 'realm_admin',
                 label: '@i18n:objects.trust.account',
                 widget: 'method.realm_admin'
@@ -224,7 +230,12 @@ return {
                 $type: 'details_section',
                 name: 'realm',
                 widgets: [
-                    'realm_server'
+                    'realm_server',
+                    {
+                        $type: 'checkbox',
+                        name: 'bidirectional',
+                        tooltip: '@mc-opt:trust_add:bidirectional:doc'
+                    }
                 ]
             },
             {
-- 
2.4.3