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

helpers, s3_gate: Fix acl tests #669

Merged
merged 1 commit into from
Nov 20, 2023
Merged

Conversation

vvarg229
Copy link
Collaborator

@vvarg229 vvarg229 commented Nov 1, 2023

The neofs-s3-gw repository has made changes to how acl works. This commit changes the tests so that they work correctly with the new acl rules.

Tests result:
https://http.fs.neo.org/7ZVSQHtioVRiDT2btN9xEmQhczXV9vryCEAHUawfD8Sc/126-1700220863/index.html

Important:
Tests on the current master will crash, this change will only work with a recent s3-gw

Comment on lines 39 to 41
"public-read": "WRITE",
"grant-read": "WRITE",
"private": "WRITE",
Copy link
Contributor

Choose a reason for hiding this comment

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

AWS documentation is so messy, but according to Canned ACL, I tend to think, these rows should be FULL_CONTROL as well

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

AWS documentation is so messy, but according to Canned ACL, I tend to think, these rows should be FULL_CONTROL as well

Then you need to fix that in the s3-gw repo too

Copy link
Contributor

Choose a reason for hiding this comment

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

That's the way. But I think we should discuss it with @evgeniiz321, to be sure we are on the same page with documentation understanding.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

AWS documentation is so messy, but according to Canned ACL, I tend to think, these rows should be FULL_CONTROL as well

Fixed

@roman-khimov
Copy link
Member

Rebase, fix problems and let's move on.

The neofs-s3-gw repository has made changes to how acl works.
This commit changes the tests so that they work correctly with the new acl rules.

Signed-off-by: Oleg Kulachenko <[email protected]>
@vvarg229
Copy link
Collaborator Author

Rebase, fix problems and let's move on.

Fixed, tests result: https://http.fs.neo.org/7ZVSQHtioVRiDT2btN9xEmQhczXV9vryCEAHUawfD8Sc/126-1700220863/index.html

@vvarg229 vvarg229 marked this pull request as ready for review November 17, 2023 13:23
@roman-khimov roman-khimov merged commit 3901cc0 into nspcc-dev:master Nov 20, 2023
1 check passed
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.

4 participants