mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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
This commit is contained in:
committed by
Rob Crittenden
parent
4080a03051
commit
d7c60205a6
@@ -65,9 +65,9 @@ class hostgroup(LDAPObject):
|
||||
uuid_attribute = 'ipauniqueid'
|
||||
attribute_members = {
|
||||
'member': ['host', 'hostgroup'],
|
||||
'memberof': ['hostgroup'],
|
||||
'memberof': ['hostgroup', 'hbacrule', 'sudorule'],
|
||||
'memberindirect': ['host', 'hostgroup'],
|
||||
'memberofindirect': ['host', 'hostgroup'],
|
||||
'memberofindirect': ['host', 'hostgroup', 'hbacrule', 'sudorule'],
|
||||
}
|
||||
|
||||
label = _('Host Groups')
|
||||
|
||||
Reference in New Issue
Block a user