-
Notifications
You must be signed in to change notification settings - Fork 283
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
Check block request only if system index #4430
Check block request only if system index #4430
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR and root-causing the issue! Couple of minor comments
src/test/java/org/opensearch/security/IndexIntegrationTests.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/security/configuration/SecurityIndexSearcherWrapper.java
Show resolved
Hide resolved
src/test/java/org/opensearch/security/securityconf/SecurityRolesPermissionsTest.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/security/configuration/SecurityIndexSearcherWrapper.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/security/securityconf/ConfigModelV6.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/security/securityconf/ConfigModelV7.java
Outdated
Show resolved
Hide resolved
src/test/java/org/opensearch/security/securityconf/SecurityRolesPermissionsTest.java
Outdated
Show resolved
Hide resolved
@10000-ki could you plz rebase? The main branch contains fix for the |
0d75671
to
215f1f0
Compare
@willyborankin |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4430 +/- ##
==========================================
+ Coverage 65.44% 65.48% +0.03%
==========================================
Files 312 312
Lines 22042 22040 -2
Branches 3559 3559
==========================================
+ Hits 14425 14432 +7
+ Misses 5843 5837 -6
+ Partials 1774 1771 -3
|
Signed-off-by: 10000-ki <[email protected]>
Signed-off-by: 10000-ki <[email protected]>
Signed-off-by: 10000-ki <[email protected]>
Signed-off-by: 10000-ki <[email protected]>
8841c07
to
5ea9dee
Compare
Signed-off-by: 10000-ki <[email protected]>
Signed-off-by: 10000-ki <[email protected]>
@cwperks @willyborankin |
@10000-ki, will do during the day |
Signed-off-by: 10000-ki <[email protected]> (cherry picked from commit 1d1b1ed) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
plugins.security.system_indices.permission.enabled
enabledIssues Resolved
issue: #4429
Testing
[Please provide details of testing done: unit testing, integration testing and manual testing]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.