mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Collect memberof information for sudo commands.
We weren't searching the cn=sudo container so all members of a sudocmdgroup looked indirect. Add a label for sudo command groups. Update the tests to include verifying that membership is done properly. ticket 1003
This commit is contained in:
committed by
Endi S. Dewata
parent
1770750b8a
commit
af9f905239
@@ -55,8 +55,11 @@ class sudocmd(LDAPObject):
|
||||
'sudocmd', 'description',
|
||||
]
|
||||
default_attributes = [
|
||||
'sudocmd', 'description',
|
||||
'sudocmd', 'description', 'memberof',
|
||||
]
|
||||
attribute_members = {
|
||||
'memberof': ['sudocmdgroup'],
|
||||
}
|
||||
uuid_attribute = 'ipauniqueid'
|
||||
label = _('SUDO Commands')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user