Skip to content

chore: merge authorization contexts #12816

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

Merged
merged 2 commits into from
Mar 29, 2024
Merged

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented Mar 29, 2024

Instead of 2 auth contexts from apikey and dbauthz, merge them to just use dbauthz. It is annoying to have two.

So httpmw.Authorization becomes rbac.Subject.

Closes #12363

Instead of 2 auth contexts from apikey and dbauthz, merge them to
just use dbauthz. It is annoying to have two.
@Emyrk Emyrk requested a review from johnstcn March 29, 2024 14:44
Copy link
Member

@kylecarbs kylecarbs left a comment

Choose a reason for hiding this comment

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

Nice reduction in abstraction!

@Emyrk Emyrk merged commit eeb3d63 into main Mar 29, 2024
@Emyrk Emyrk deleted the stevenmasley/merge_auth_contexts branch March 29, 2024 15:14
@github-actions github-actions bot locked and limited conversation to collaborators Mar 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Merge httpmw and dbauthz "actor/subject" contexts
2 participants