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

[3.4] Early exit auth check on lease puts #16020

Merged
merged 2 commits into from
Jun 21, 2023

Conversation

tjungblu
Copy link
Contributor

@tjungblu tjungblu commented Jun 6, 2023

Mitigates #15993 by not checking each key individually for permission when auth is entirely disabled or admin user is calling the method.

Backport of #16005

Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.

Mitigates etcd-io#15993 by not checking each key individually for permission
when auth is entirely disabled or admin user is calling the method.

Backport of etcd-io#16005

Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
This contains a slight refactoring to expose enough information
to write meaningful tests for auth applier v3.

Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
@tjungblu
Copy link
Contributor Author

here as well, updated the backport, PTAL @serathius @ahrtr @jmhbnz

I'll add another PR for the change logs

Copy link
Member

@ahrtr ahrtr left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks @tjungblu

@ahrtr ahrtr merged commit fee612d into etcd-io:release-3.4 Jun 21, 2023
@ahrtr ahrtr mentioned this pull request Jul 5, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants