Skip to content

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

Merged
bert-e merged 12 commits intodevelopment/8.7from
w/8.7/improvement/CLDSRV-428-put-apis-impDeny
Nov 29, 2023
Merged

INTEGRATION [PR#5456 > development/8.7] CLDSRV-428: put apis updated for implicit deny#5459
bert-e merged 12 commits intodevelopment/8.7from
w/8.7/improvement/CLDSRV-428-put-apis-impDeny

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
@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

Comments