-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Allow _rollup_search with read privilege #52043
Allow _rollup_search with read privilege #52043
Conversation
Pinging @elastic/es-security (:Security/Authorization) |
public void testIndexReadPrivilegeCanPerformRollupSearchAction() { | ||
assertTrue(Automatons.predicate(IndexPrivilege.READ.getAutomaton()).test(RollupSearchAction.NAME)); | ||
} |
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.
Please let me know if there is a better way for this unit test.
Repost from slack channel:
|
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.
LGTM
Currently _rollup_search requires manage privilege to access. It should really be a read only operation. This PR changes the requirement to be read indices privilege. Resolves: elastic#50245
Currently _rollup_search requires
manage
privilege to access. It should really be a read only operation. This PR changes the requirement to beread
indices privilege.Resolves: #50245