-
Notifications
You must be signed in to change notification settings - Fork 241
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
Standard authorization for backbeat routes #5714
base: development/8.8
Are you sure you want to change the base?
Conversation
Today, authorization results are not used. It is because before having implicit denies, we would have an AccessDenied directly. To be consistent, we must pass the authorization results. We thus allow the bucket policies and ACLs to be processed. Unit tests are added to cover all existing routes. Routes themselves are not direectly tested, only the router logic. We must first add tests for backbeat routes before merging more logic with the normal router. Issue: CLDSRV-591
Hello williamlardier,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
Incorrect fix versionThe
Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:
Please check the |
f2523ac
to
8200a2e
Compare
8200a2e
to
86b0544
Compare
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
|
c3b007f
to
fa4422a
Compare
- Also split backbeat routers - Better use the callback functions - Do not return twice to the client in case of error and quota evaluation (finalizer hooks) - Remove account quota from backbeat proxy route: as not used in this case. Issue: CLDSRV-591
fa4422a
to
decfc8f
Compare
The goal here is to handle the authorization from the IAM module in the backbeat routes, and not rely on implicit deny === access denied, as this is not true anymore.
By doing so, we centralize the logic with all S3 APIs, and introduce some unit test to complete the functional tests from
tests/multipleBackend/routes/routeBackbeat.js
Next steps: