-
Notifications
You must be signed in to change notification settings - Fork 444
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
Throw sercurity exceptions when permissions checks fail. Backport to 1.10 #1830
Conversation
When I get the chance, I plan on adding tests in either |
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 @Manno15 !
@Manno15 You may want to check that AuditMessageIT passes for you on this branch, because it failed in the main branch until I fixed it in 3b23f6a (also, that might be a good test to update to increase our code coverage for these permissions denials for the flush command, and maybe the set/remove system property commands as well). |
@ctubbsii I made the changes to |
Thanks for the quick fix @Manno15 ! Feel free to add the changes to the IT this PR or as a separate PR, whatever is easier. |
I plan on doing it in a separate pr, I am still debugging some things on it. Is this good to merge? @milleruntime |
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.
Looks good. Sorry I had missed your change to AuditMessageIT
Based on #1828 in main. This is to back to 1.10. Confirmed the bug did exist on that branch as well.