This commit is contained in:
Bastian Wagner
2026-07-15 17:59:25 +02:00
parent 7a6e08d2c5
commit ba7029ac7b
10 changed files with 469 additions and 76 deletions

View File

@@ -294,6 +294,11 @@ export class LldapService {
return response.groups;
}
async findGroupByDisplayName(displayName: string): Promise<LldapGroup | null> {
const groups = await this.listGroups();
return groups.find((group) => group.displayName === displayName) ?? null;
}
async getGroup(groupId: number): Promise<LldapGroup> {
const response = await this.graphql<{ group: LldapGroup }>(
`query Group($groupId: Int!) {