mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-05 08:49:38 +03:00
[PR #1121] feat: ldap custom attributes #1060
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/1121
Author: @mnestor
Created: 11/28/2025
Status: 🔄 Open
Base:
main← Head:feat/ldap-custom-attributes📝 Commits (3)
cfd163afix: Set correct path of .env file to backend dir instead of backend/cmd0d7a647feat: ldap attributes synging to custom-claims for user and group objects1fe5b17Merge branch 'main' into feat/ldap-custom-attributes📊 Changes
31 files changed (+442 additions, -92 deletions)
View changed files
📝
CONTRIBUTING.md(+2 -0)📝
backend/internal/controller/custom_claim_controller.go(+2 -2)📝
backend/internal/dto/app_config_dto.go(+1 -0)📝
backend/internal/dto/custom_claim_dto.go(+16 -3)📝
backend/internal/dto/user_dto.go(+13 -12)📝
backend/internal/dto/user_group_dto.go(+23 -20)📝
backend/internal/model/app_config.go(+1 -0)📝
backend/internal/model/custom_claim.go(+3 -2)📝
backend/internal/model/user.go(+4 -3)📝
backend/internal/model/user_group.go(+6 -5)📝
backend/internal/service/app_config_service.go(+1 -0)📝
backend/internal/service/custom_claim_service.go(+17 -16)📝
backend/internal/service/ldap_service.go(+87 -0)📝
backend/internal/service/oidc_service.go(+1 -1)📝
backend/internal/service/user_group_service.go(+4 -2)📝
backend/internal/service/user_service.go(+3 -2)➕
backend/resources/migrations/postgres/20251128000000_add_isldap_custom_claims.down.sql(+4 -0)➕
backend/resources/migrations/postgres/20251128000000_add_isldap_custom_claims.up.sql(+3 -0)➖
backend/resources/migrations/sqlite/20251115000000_api_keys_expires_at_index.up.sql(+0 -5)➕
backend/resources/migrations/sqlite/20251128000000_add_isldap_custom_claims.down.sql(+25 -0)...and 11 more files
📄 Description
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.