Skip to content
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

Remove org.opensearch.secure_sm.ThreadPermission from plugin manifest, this permission should not be granted #151

Merged
merged 1 commit into from
May 30, 2024

Conversation

reta
Copy link
Collaborator

@reta reta commented May 30, 2024

Description

Remove org.opensearch.secure_sm.ThreadPermission from plugin manifest, this permission should not be granted

Issues Resolved

Followup on #122

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.

…, this permission should not be granted

Signed-off-by: Andriy Redko <[email protected]>
@@ -12,5 +12,4 @@ grant codeBase "${codebase.zstd-jni}" {

grant codeBase "${codebase.qat-java}" {
permission java.lang.RuntimePermission "loadLibrary.*";
permission org.opensearch.secure_sm.ThreadPermission "modifyArbitraryThread";
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@mulugetam I missed that in the original pull request, why you added this permission? It should not be granted.

@reta reta merged commit 95d04e5 into opensearch-project:main May 30, 2024
18 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request May 30, 2024
…, this permission should not be granted (#151)

Signed-off-by: Andriy Redko <[email protected]>
(cherry picked from commit 95d04e5)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@sarthakaggarwal97
Copy link
Collaborator

thanks @reta for this!

sarthakaggarwal97 pushed a commit that referenced this pull request May 30, 2024
…, this permission should not be granted (#151) (#152)

(cherry picked from commit 95d04e5)

Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants