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

[Transform] Fix stats can return old state information if security is enabled #51732

Merged
merged 3 commits into from
Jan 31, 2020

Conversation

hendrikmuhs
Copy link

do index refresh of the internal transform index with the system user
instead of using the calling user which does not have sufficient rights
if security is enabled

fixes #51728

instead of using the calling user which does not have the sufficient rights
if security is enabled

fixes elastic#51728
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml/Transform)

Copy link
Contributor

@droberts195 droberts195 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@benwtrent benwtrent left a comment

Choose a reason for hiding this comment

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

Great find @hendrikmuhs !

@hendrikmuhs hendrikmuhs merged commit 40f0a26 into elastic:master Jan 31, 2020
hendrikmuhs pushed a commit to hendrikmuhs/elasticsearch that referenced this pull request Jan 31, 2020
… enabled (elastic#51732)

do index refresh of the internal transform index with the system user
instead of using the calling user which does not have sufficient rights
if security is enabled

fixes elastic#51728
hendrikmuhs pushed a commit to hendrikmuhs/elasticsearch that referenced this pull request Jan 31, 2020
… enabled (elastic#51732)

do index refresh of the internal transform index with the system user
instead of using the calling user which does not have sufficient rights
if security is enabled

fixes elastic#51728
@hendrikmuhs hendrikmuhs deleted the transform-#51728 branch January 31, 2020 12:53
hendrikmuhs pushed a commit that referenced this pull request Feb 1, 2020
… enabled (#51732) (#51738)

do index refresh of the internal transform index with the system user
instead of using the calling user which does not have sufficient rights
if security is enabled

fixes #51728
@polyfractal polyfractal added v7.6.0 and removed v7.6.1 labels Feb 7, 2020
hendrikmuhs pushed a commit that referenced this pull request Feb 12, 2020
… enabled (#51732) (#51739)

do index refresh of the internal transform index with the system user
instead of using the calling user which does not have sufficient rights
if security is enabled

fixes #51728
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.

[Transform] stats can return old state information if security is enabled
6 participants