mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[PR #801] [MERGED] server: clean up the attributes, relax the substring filter conditions #960
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#960
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/lldap/lldap/pull/801
Author: @nitnelave
Created: 1/17/2024
Status: ✅ Merged
Merged: 1/17/2024
Merged by: @nitnelave
Base:
main← Head:substring📝 Commits (1)
bc70c31server: clean up the attributes, relax the substring filter conditions📊 Changes
7 files changed (+283 additions, -163 deletions)
View changed files
📝
server/src/domain/handler.rs(+1 -0)📝
server/src/domain/ldap/group.rs(+96 -70)📝
server/src/domain/ldap/user.rs(+90 -90)📝
server/src/domain/ldap/utils.rs(+18 -1)📝
server/src/domain/sql_group_backend_handler.rs(+55 -1)📝
server/src/infra/graphql/query.rs(+4 -0)📝
server/src/infra/ldap_handler.rs(+19 -1)📄 Description
This consolidates both user and group attributes in their map_{user,group}_attribute as the only point of parsing. It adds support for custom attribute filters for groups, and makes a SubString filter on an unknown attribute resolve to just false.
It should help with #739
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.