Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add LDAP sync #106

Merged
merged 59 commits into from
Jan 19, 2025
Merged

feat: add LDAP sync #106

merged 59 commits into from
Jan 19, 2025

Conversation

kmendell
Copy link
Contributor

@kmendell kmendell commented Jan 12, 2025

PoC of users from ldap so far, Drafting this PR for code review first, and we can continue on from there.

TODO

  • If a user is removed from LDAP the user does not get deleted in pocket-id dbc8e38
  • Add a LDAP Claim for Admin Rights in Pocket ID 3443d4a
  • Admins Shouldn't be able to Delete users synced from LDAP in the UI? Maybe they should?
  • We need to create the Postgres migration for the LDAP ID and GROUP ID value in the DB. f3cc45d
  • Fix the initial setup because it doesn't work anymore.
    • This should be fixed now that ldap is not enabled by ENV Variables, so no users will get synced on launch.
  • Add and edit e2e tests
  • Merge and Bump version and Release

kmendell and others added 28 commits January 11, 2025 11:42
@kmendell
Copy link
Contributor Author

Current State of this PR as of commit: 7025e91 is users only in the ldap service, waiting for testing to confirm functionality, and then we can continue on with groups.

@kmendell kmendell changed the title WIP: feat(ldap-sync) feat(ldap-sync) Jan 15, 2025
@kmendell
Copy link
Contributor Author

Functionality for Sync is all working.
Few Issues/Notes:

  • If a user is removed from LDAP the user does not get deleted in pocket-id
    • I compared that to other services and it seems to be the same the users don't get deleted, that is more of SCIM territory.
  • We need to create the Postgres migration for the LDAP ID value in the DB.
  • Complete the Frontend UI Tweaks to not allow editing of LDAP Users or LDAP Groups

@stonith404 stonith404 marked this pull request as ready for review January 18, 2025 22:04
@stonith404 stonith404 changed the title feat(ldap-sync) feat: add LDAP sync Jan 18, 2025
@stonith404 stonith404 merged commit 5101b14 into stonith404:main Jan 19, 2025
3 checks passed
@kmendell kmendell deleted the ldap-sync branch January 23, 2025 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants