summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2010-11-24 09:19:31 -0500
committerRob Crittenden <rcritten@redhat.com>2010-12-02 16:10:25 -0500
commitac62447329a25e0b2696e594d3fd3c35da9d69e0 (patch)
treeb7dd9ea238afef4fde07a8365dd8b5cb6ffa07d9 /ipalib
parent55479e4512330b92598bff5ef4f8202021a15b1c (diff)
downloadfreeipa-ac62447329a25e0b2696e594d3fd3c35da9d69e0.tar.gz
freeipa-ac62447329a25e0b2696e594d3fd3c35da9d69e0.tar.xz
freeipa-ac62447329a25e0b2696e594d3fd3c35da9d69e0.zip
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
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/hbac.py8
1 files 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'],
),