From ac62447329a25e0b2696e594d3fd3c35da9d69e0 Mon Sep 17 00:00:00 2001 From: Jan Zeleny Date: Wed, 24 Nov 2010 09:19:31 -0500 Subject: Updated output when calling hbac-show Some attributes weren't included in the output of hbac-show command. This patch fixes it. https://fedorahosted.org/freeipa/ticket/494 https://fedorahosted.org/freeipa/ticket/495 --- ipalib/plugins/hbac.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ipalib/plugins/hbac.py b/ipalib/plugins/hbac.py index 17154e937..117b07535 100644 --- a/ipalib/plugins/hbac.py +++ b/ipalib/plugins/hbac.py @@ -171,6 +171,10 @@ class hbac(LDAPObject): label=_('Users'), flags=['no_create', 'no_update', 'no_search'], ), + Str('memberuser_group?', + label=_('Groups'), + flags=['no_create', 'no_update', 'no_search'], + ), Str('memberhost_host?', label=_('Hosts'), flags=['no_create', 'no_update', 'no_search'], @@ -183,11 +187,11 @@ class hbac(LDAPObject): label=_('Source hosts'), flags=['no_create', 'no_update', 'no_search'], ), - Str('memberservice_service?', + Str('memberservice_hbacsvc?', label=_('Services'), flags=['no_create', 'no_update', 'no_search'], ), - Str('memberservice_servicegroup?', + Str('memberservice_hbacsvcgroup?', label=_('Service Groups'), flags=['no_create', 'no_update', 'no_search'], ), -- cgit