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

INTEGRATION [PR#5456 > development/8.7] CLDSRV-428: put apis updated for implicit deny #5459

Merged
merged 12 commits into from
Nov 29, 2023

Conversation

bert-e
Copy link
Contributor

@bert-e bert-e commented Nov 27, 2023

This pull request has been created automatically.
It is linked to its parent pull request #5456.

Do not edit this pull request directly.
If you need to amend/cancel the changeset on branch
w/8.7/improvement/CLDSRV-428-put-apis-impDeny, please follow this
procedure:

 $ git fetch
 $ git checkout w/8.7/improvement/CLDSRV-428-put-apis-impDeny
 $ # <amend or cancel the changeset by _adding_ new commits>
 $ git push origin w/8.7/improvement/CLDSRV-428-put-apis-impDeny

Please always comment pull request #5456 instead of this one.

benzekrimaha and others added 4 commits November 27, 2023 16:47
In this commit put apis have been updated to check for implicit deny
returned by vault and added as a parameter in the request Object.
Tests have also been added for the metadataUtils validateBucket
function.
MetadataUtils functions have been updated to check for implicit
deny.
The goal is to implement the same authorization
logic as AWS, where an implicit deny from IAM and an Allow from
the Bucket Policy should allow the request for example.
For the delete on the objectPutCopyPart and objectPutPart as we need to
deferentiate between the vault request and the external backend once
a delete is applied to the request directly as it's unique per API call
this value is then added to the request object. here's the link to the
design doc for more details:
https://github.com/scality/citadel/blob/development/1.0/docs/design/bucket-policies.md?plain=1#L263
…impDeny' into w/7.70/improvement/CLDSRV-428-put-apis-impDeny
…t-apis-impDeny' into w/8.6/improvement/CLDSRV-428-put-apis-impDeny
@bert-e bert-e merged commit 979b906 into development/8.7 Nov 29, 2023
23 checks passed
@bert-e bert-e deleted the w/8.7/improvement/CLDSRV-428-put-apis-impDeny branch November 29, 2023 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants