Hello,

please review attached patch.

Ticket: https://fedorahosted.org/freeipa/ticket/5931

--

Pavel^3 Vomacka

From bef7a296008a32b981d78d521ce452e06b8b59c8 Mon Sep 17 00:00:00 2001
From: Pavel Vomacka <pvoma...@redhat.com>
Date: Mon, 6 Jun 2016 12:59:24 +0200
Subject: [PATCH] Add lists of hosts allowed to create or retrieve keytabs

https://fedorahosted.org/freeipa/ticket/5931
---
 install/ui/src/freeipa/service.js | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/install/ui/src/freeipa/service.js b/install/ui/src/freeipa/service.js
index f1f8d951e415e9768aab433e28da852a732bc8ba..f7b58620ac904626329d7c4e327ac85724513856 100644
--- a/install/ui/src/freeipa/service.js
+++ b/install/ui/src/freeipa/service.js
@@ -181,6 +181,22 @@ return {
                                     link: true
                                 }
                             ]
+                        },
+                        {
+                            $type: 'association_table',
+                            id: 'service_ipaallowedtoperform_read_keys_host',
+                            name: 'ipaallowedtoperform_read_keys_host',
+                            add_method: 'allow_retrieve_keytab',
+                            remove_method: 'disallow_retrieve_keytab',
+                            add_title: '@i18n:keytab.add_retrive',
+                            remove_title: '@i18n:keytab.remove_retrieve',
+                            columns: [
+                                {
+                                    name: 'ipaallowedtoperform_read_keys_host',
+                                    label: '@mo:host.label_singular',
+                                    link: true
+                                }
+                            ]
                         }
                     ]
                 },
@@ -220,6 +236,22 @@ return {
                                     link: true
                                 }
                             ]
+                        },
+                        {
+                            $type: 'association_table',
+                            id: 'service_ipaallowedtoperform_write_keys_host',
+                            name: 'ipaallowedtoperform_write_keys_host',
+                            add_method: 'allow_create_keytab',
+                            remove_method: 'disallow_create_keytab',
+                            add_title: '@i18n:keytab.add_create',
+                            remove_title: '@i18n:keytab.remove_create',
+                            columns: [
+                                {
+                                    name: 'ipaallowedtoperform_write_keys_host',
+                                    label: '@mo:host.label_singular',
+                                    link: true
+                                }
+                            ]
                         }
                     ]
                 }
-- 
2.5.5

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to