summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/group.py
diff options
context:
space:
mode:
authorJr Aquino <jr.aquino@citrix.com>2011-05-31 14:52:35 -0700
committerRob Crittenden <rcritten@redhat.com>2011-06-06 13:14:38 -0400
commitd7c60205a6232f52eec80126a649b1319ed77974 (patch)
tree866a291b60129b9f84df69daa894b72e529cdaba /ipalib/plugins/group.py
parent4080a03051b244c061fdc494dec67d3ee97f9a1a (diff)
downloadfreeipa-d7c60205a6232f52eec80126a649b1319ed77974.tar.gz
freeipa-d7c60205a6232f52eec80126a649b1319ed77974.tar.xz
freeipa-d7c60205a6232f52eec80126a649b1319ed77974.zip
Add sudorule and hbacrule to memberof and indirectmemberof attributes
Add Add tests for users, groups, hosts and hostgroups to verify membership Update API to version 2.3 https://fedorahosted.org/freeipa/ticket/1170
Diffstat (limited to 'ipalib/plugins/group.py')
-rw-r--r--ipalib/plugins/group.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ipalib/plugins/group.py b/ipalib/plugins/group.py
index d4d0715c5..163a6f5da 100644
--- a/ipalib/plugins/group.py
+++ b/ipalib/plugins/group.py
@@ -90,9 +90,10 @@ class group(LDAPObject):
uuid_attribute = 'ipauniqueid'
attribute_members = {
'member': ['user', 'group'],
- 'memberof': ['group', 'netgroup', 'role',],
+ 'memberof': ['group', 'netgroup', 'role', 'hbacrule', 'sudorule'],
'memberindirect': ['user', 'group', 'netgroup', 'role'],
- 'memberofindirect': ['group', 'netgroup', 'role'],
+ 'memberofindirect': ['group', 'netgroup', 'role', 'hbacrule',
+ 'sudorule'],
}
rdnattr = 'cn'