When trying to add/remove services and service groups as members of an hbacrule failures were not being displayed due to a missing label.

Tickets show how to duplicate and test patch.

rob
>From a015ccfcb5a22677cb648ba61578d4e2f1a2e2e1 Mon Sep 17 00:00:00 2001
From: Rob Crittenden <rcrit...@redhat.com>
Date: Fri, 23 Sep 2011 16:39:30 -0400
Subject: [PATCH] Include failed service and service groups in hbac rule
 management

hbacrule-service-add/remove failures weren't being displayed because
no label was defined.

https://fedorahosted.org/freeipa/ticket/1863
https://fedorahosted.org/freeipa/ticket/1865
---
 ipalib/plugins/baseldap.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ipalib/plugins/baseldap.py b/ipalib/plugins/baseldap.py
index bd4f083..11cd72c 100644
--- a/ipalib/plugins/baseldap.py
+++ b/ipalib/plugins/baseldap.py
@@ -159,6 +159,9 @@ global_output_params = (
     Str('memberuser',
         label=_('Failed users/groups'),
     ),
+    Str('memberservice',
+        label=_('Failed service/service groups'),
+    ),
     Str('managedby',
         label=_('Failed managedby'),
     ),
-- 
1.7.6

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to