Skip to content

Refactor: replace lDAPDisplayName to dir.name#979

Merged
milov-dmitriy merged 2 commits intodevfrom
feature/1488_fix_attr_type_not_found
Apr 9, 2026
Merged

Refactor: replace lDAPDisplayName to dir.name#979
milov-dmitriy merged 2 commits intodevfrom
feature/1488_fix_attr_type_not_found

Conversation

@milov-dmitriy
Copy link
Copy Markdown
Collaborator

На фронт мы отдаем ldapDisplayName и затем фронт отправляет на бек значение из ldapDisplayName для поиска по Directory.name, это неправильно

Нужна правка в UI.

@milov-dmitriy milov-dmitriy self-assigned this Apr 9, 2026
@milov-dmitriy milov-dmitriy added the bug Something isn't working label Apr 9, 2026
Copilot AI review requested due to automatic review settings April 9, 2026 11:45
@milov-dmitriy milov-dmitriy added python Pull requests that update Python code high priority labels Apr 9, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts the LDAP schema Attribute Type DTO mapping so the name returned by the backend corresponds to Directory.name (the value the backend actually queries by), instead of ldapDisplayName, aligning the API payload with backend lookup semantics.

Changes:

  • Update AttributeType DTO conversion to set name from Directory.name rather than ldapDisplayName.

@milov-dmitriy milov-dmitriy merged commit 130654c into dev Apr 9, 2026
6 checks passed
@milov-dmitriy milov-dmitriy deleted the feature/1488_fix_attr_type_not_found branch April 9, 2026 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working high priority python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants