Skip to content

Respect runas realm for ApiKey security operations (#52178)#52932

Merged
ywangd merged 1 commit intoelastic:7.xfrom
ywangd:es-51975-runas-for-apikey-ops-7.x
Feb 27, 2020
Merged

Respect runas realm for ApiKey security operations (#52178)#52932
ywangd merged 1 commit intoelastic:7.xfrom
ywangd:es-51975-runas-for-apikey-ops-7.x

Conversation

@ywangd
Copy link
Copy Markdown
Member

@ywangd ywangd commented Feb 27, 2020

When user A run as user B and perform any API key related operations,
user B's realm should always be used to associate with the API key.
Currently user A's realm is used when getting or invalidating API keys
and owner=true. The PR is to fix this bug.

resolves: #51975

When user A runs as user B and performs any API key related operations,
user B's realm should always be used to associate with the API key.
Currently user A's realm is used when getting or invalidating API keys
and owner=true. The PR is to fix this bug.

resolves: elastic#51975
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant