-
Notifications
You must be signed in to change notification settings - Fork 30
Support LDAP Nested Query #321
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
Merged
piyush-garg
merged 8 commits into
redhat-data-and-ai:main
from
Abhidas747:DATA-6657_nested_ldap_query
Aug 6, 2026
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
ee57f01
[DATA-6657] LDAP nested query support
Abhidas747 3fe8d05
Updated validation rules in LDAP types to require that at least one oβ¦
Abhidas747 5d2d70e
[DATA-6657] Return empty slices instead of nil per repo style guide
Abhidas747 571fb44
[DATA-6657] Rename query fields to level-specific names.
Abhidas747 d5bbbc6
Embed nested LDAP queries inside filters array
Abhidas747 169dcf3
Enhance LDAP filter validation to prevent simultaneous use of key/criβ¦
Abhidas747 f9bf67a
Added validation unit test for rejecting filter items with both key/cβ¦
Abhidas747 ca398d8
Trigger CI re-run
Abhidas747 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| apiVersion: operator.dataverse.redhat.com/v1alpha1 | ||
| kind: Group | ||
| metadata: | ||
| labels: | ||
| app.kubernetes.io/name: usernaut | ||
| app.kubernetes.io/managed-by: kustomize | ||
| name: test-nested-query | ||
| namespace: usernaut | ||
| spec: | ||
| group_name: dataverse-consumer-test-nested | ||
| members: | ||
| ldap_query: | ||
| options: | ||
| include_indirect_reports: true | ||
| include_manager: true | ||
| operator: and | ||
| filters: | ||
| - key: employeeType | ||
| criteria: not | ||
| value: "external employee" | ||
| - ldap_query: | ||
| operator: or | ||
| filters: | ||
| - key: title | ||
| criteria: contains | ||
| value: engineer | ||
| - key: title | ||
| criteria: contains | ||
| value: developer | ||
| - ldap_query: | ||
| operator: or | ||
| filters: | ||
| - key: manager | ||
| criteria: equals | ||
| value: mgrAlpha | ||
| - key: manager | ||
| criteria: equals | ||
| value: mgrBeta | ||
| - ldap_query: | ||
| operator: and | ||
| filters: | ||
| - key: manager | ||
| criteria: equals | ||
| value: mgrGamma | ||
| - ldap_query: | ||
| operator: or | ||
| filters: | ||
| - key: rhatGeo | ||
| criteria: equals | ||
| value: na | ||
| - key: rhatGeo | ||
| criteria: equals | ||
| value: apac | ||
| backends: [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.