Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: Skip authz on various functions used for api data building #6366

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 4 commits into from
Feb 28, 2023

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented Feb 27, 2023

API already fetches the parent object and does the rbac check. Until these functions are optimized, skipping authz is better. It leaves us no worse off than the status quo.

This is easier to fix once dbauthz leaves experimental. Without this change, a lot of db round trips are unnecessarily added. So this is a temporary solution.

API already fetches the parent object and does the rbac check. Until
these functions are optimized, skipping authz is better.
It leaves us no worse off than the status quo
@Emyrk Emyrk requested a review from kylecarbs February 28, 2023 05:02
@Emyrk Emyrk merged commit 418a8a7 into main Feb 28, 2023
@Emyrk Emyrk deleted the stevenmasley/rbac_objects branch February 28, 2023 17:04
@github-actions github-actions bot locked and limited conversation to collaborators Feb 28, 2023
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.

2 participants