-
Notifications
You must be signed in to change notification settings - Fork 348
Inject user custom attributes #5560
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
DarshitChanpura
merged 24 commits into
opensearch-project:main
from
cloud-gov:inject-user-custom-attributes
Aug 26, 2025
Merged
Changes from 21 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
f1fc906
update setUserInfoInThreadContext to serialize user custom attributes…
markdboyd 0443c5a
inject user custom attributes from thread context in RolesInjector.in…
markdboyd 10d9f71
apply spotless formatting
markdboyd bc15315
add CHANGELOG entry
markdboyd d6a326f
stub out tests for roles injection using custom attributes from threa…
markdboyd 3ea490b
add check for whether DLS query interpolation completed successfully …
markdboyd e00cbb3
update dls configuration for role_with_dls test fixture role
markdboyd 55d72d2
remove superfluous test conditions
markdboyd 5d9219d
apply spotless formatting
markdboyd bdc260b
fix permissions order in test role definitions
markdboyd 9626f74
update DocumentPrivilegesTest to verify exception is thrown when user…
markdboyd 32d2184
apply spotless formatting
markdboyd e8be532
add new role fixture with permission to create indexes and index docu…
markdboyd 0d3eab5
update test case for DLS with user attribute substitution to test tha…
markdboyd 6a7ff6e
remove unused code
markdboyd 618b1ad
apply spotless formatting
markdboyd f65f14b
refactor role injection integration tests so that test of search filt…
markdboyd 98d1f63
remove unused code
markdboyd 29de369
add static boolean UserAttributes.needsAttributeSubstitution & refact…
markdboyd a560302
apply spotless formatting
markdboyd 1a7c87d
add unit tests for UserAttributes
markdboyd 1162aba
fix misspelling
markdboyd 968ca34
update comment in test
markdboyd 95e3a92
remove unnecessary JSON quote escaping
markdboyd 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
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
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
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
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
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.