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

Consider `owner` flag when retrieving/invalidating keys with API key service #45421

Merged

Conversation

@bizybot
Copy link
Contributor

commented Aug 10, 2019

Actual invocation of API key service now takes owner flag from the
request into consideration by setting the values for realm and
username as per the current authentication before invoking API key service.
This allows for retrieving or invalidating API keys owned by the current
authenticated user.

Relates: #40031

Consider `owner` flag when retrieving/invalidating keys with API key …
…service

Actual invocation of API key service now takes `owner` flag from the
request into consideration by setting the values for `realm` and
`username` as per the current authentication. This allows for
retrieving or invalidating API keys owned by the current authenticated
user.

Relates: #
@elasticmachine

This comment has been minimized.

Copy link
Collaborator

commented Aug 10, 2019

@bizybot

This comment has been minimized.

Copy link
Contributor Author

commented Aug 10, 2019

Failed due to #43673
@elasticmachine run elasticsearch-ci/1

bizybot added some commits Aug 12, 2019

@tvernum
Copy link
Contributor

left a comment

LGTM

@bizybot

This comment has been minimized.

Copy link
Contributor Author

commented Aug 12, 2019

existing grok test failure
@elasticmachine run elasticsearch-ci/2

@albertzaharovits
Copy link
Contributor

left a comment

LGTM

@bizybot bizybot merged commit 1950e38 into elastic:manage-own-api-key-privilege Aug 14, 2019

8 checks passed

CLA All commits in pull request signed
Details
elasticsearch-ci/1 Build finished.
Details
elasticsearch-ci/2 Build finished.
Details
elasticsearch-ci/bwc Build finished.
Details
elasticsearch-ci/default-distro Build finished.
Details
elasticsearch-ci/docs Build finished.
Details
elasticsearch-ci/oss-distro-docs Build finished.
Details
elasticsearch-ci/packaging-sample Build finished.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.