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

Fix ACL handling when copy #57

Merged
merged 1 commit into from Feb 22, 2022

Conversation

LeonidVas
Copy link
Contributor

The Bucket.copy method is used to load the same file into multiple repositories. But it doesn't take into account that the ACL will be changed to private. From documentation:
"When copying an object, you can preserve all metadata (default) or specify new metadata. However, the ACL is not preserved and is set to private for the user making the request."
Let's fix that.

The `Bucket.copy` method is used to load the same file into multiple
repositories. But it doesn't take into account that the ACL will be
changed to private. From documentation:
"When copying an object, you can preserve all metadata (default) or
specify new metadata. However, the ACL is not preserved and is set to
private for the user making the request."
Let's fix that.
Copy link
Member

@Totktonada Totktonada left a comment

Choose a reason for hiding this comment

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

LGTM.

However I would ask you to ask the library authors to clarify (legitimize) this behaviour.

@LeonidVas
Copy link
Contributor Author

LGTM.

However I would ask you to ask the library authors to clarify (legitimize) this behaviour.

boto/boto3#3163

@LeonidVas LeonidVas merged commit f5146f2 into master Feb 22, 2022
@LeonidVas LeonidVas deleted the lvasiliev/gh-no-ticket-fix-work-with-ACL-on-copy branch February 22, 2022 20:39
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.

None yet

2 participants