#50313 Making an NestedRoleDefinition type in src/lib389/lib389/idm/role.py
Closed: fixed 8 months ago by aborah. Opened 10 months ago by aborah.

Issue Description:

Making an NestedRoleDefinition type in src/lib389/lib389/idm/nsrole.py

class NestedRoleDefinitions(DSLdapObjects):
"""DSLdapObjects that represents all NestedRoleDefinitions entries in suffix.

    This instance is used mainly for search operation  NestedRoleDefinitions role

    :param instance: An instance
    :type instance: lib389.DirSrv
    :param basedn: Suffix DN
    :type basedn: str
    :param rdn: The DN that will be combined wit basedn
    :type rdn: str
def __init__(self, instance, basedn):
    super(NestedRoleDefinitions, self).__init__(instance)
    self._objectclasses = [
    self._filterattrs = ['cn']
    self._basedn = basedn
    self._childobject = NestedRoleDefinition

Metadata Update from @mreynolds:
- Custom field origin adjusted to None
- Custom field reviewstatus adjusted to None
- Issue set to the milestone: 1.4.1

10 months ago

Metadata Update from @aborah:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

8 months ago

@aborah Please link the fix (the commit, optionally the PR). Thanks.

Login to comment on this ticket.