From 6081cae98be6c4bf24b43bff42b8e447496feb78 Mon Sep 17 00:00:00 2001 From: Thomas Rittson Date: Sat, 27 Sep 2025 15:01:17 +1000 Subject: [PATCH] Adjust jsdoc comment --- src/services/ldap-directory.service.ts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/services/ldap-directory.service.ts b/src/services/ldap-directory.service.ts index 150fd8d3..b08f0a08 100644 --- a/src/services/ldap-directory.service.ts +++ b/src/services/ldap-directory.service.ts @@ -216,15 +216,11 @@ export class LdapDirectoryService implements IDirectoryService { } /** - * Builds a GroupEntry from an LDAP search entry, processing group members and determining member types. - * - * This method creates a group object with its basic properties (referenceId, externalId, name) and - * processes its members to categorize them as either user members (DN or UID format) or nested groups. - * Members are identified by their format: DN-like strings containing "=" and "," are checked against - * user maps to determine if they're user DNs or group DNs, while other strings are treated as UIDs. + * Builds a GroupEntry from LDAP search results, including membership. + * Supports user membership by DN or UID and nested group membership by DN. * * @param searchEntry - The LDAP search entry containing group data - * @param userDnMap - Map of user distinguished names to their external IDs + * @param userDnMap - Map of user DNs to their external IDs * @param userUidMap - Map of user UIDs to their external IDs * @returns A populated GroupEntry object, or null if the group lacks required properties */