mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 01:10:22 +03:00
[PR #222] [MERGED] fix: user linking in ldap group sync #906
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pocket-id/pocket-id/pull/222
Author: @kmendell
Created: 2/9/2025
Status: ✅ Merged
Merged: 2/11/2025
Merged by: @stonith404
Base:
main← Head:ldap-group-sync-fix📝 Commits (2)
63419b3add ldap_id check for syncing users into ldap groups458b297remove old db query📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
backend/internal/service/ldap_service.go(+2 -1)📄 Description
Added a missed check for syncing ldap users into ldap groups. we were not checking for the ldap_id when trying to add user into the group which could cause a sync fail.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.