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

s3CrudPolicy allows using canned ACL for s3.PutObject #769

Merged

Conversation

gojko
Copy link
Contributor

@gojko gojko commented Jan 17, 2019

Description of changes: the old S3CrudPolicy would not allow s3.PutObject operations if they supplied a canned ACL (such as public-read), because S3 also requires a PutObjectAcl permission for that. This pull request extends the S3CrudPolicy to allow canned ACLs in API requests to write objects.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@codecov-io
Copy link

codecov-io commented Jan 17, 2019

Codecov Report

Merging #769 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #769   +/-   ##
========================================
  Coverage    94.18%   94.18%           
========================================
  Files           67       67           
  Lines         2683     2683           
  Branches       478      478           
========================================
  Hits          2527     2527           
  Misses          80       80           
  Partials        76       76

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2e57d52...e9ceb2a. Read the comment docs.

jlhood
jlhood previously approved these changes Jan 18, 2019
Copy link
Contributor

@jlhood jlhood left a comment

Choose a reason for hiding this comment

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

Appreciate the fix!

keetonian
keetonian previously approved these changes Jan 18, 2019
@keetonian keetonian changed the base branch from master to develop January 18, 2019 19:31
@keetonian keetonian dismissed stale reviews from jlhood and themself via f868502 January 18, 2019 19:47
@keetonian keetonian changed the base branch from develop to master January 18, 2019 19:47
@keetonian keetonian changed the base branch from master to develop January 18, 2019 19:47
@keetonian keetonian merged commit da1ef5b into aws:develop Jan 18, 2019
@gojko
Copy link
Contributor Author

gojko commented Jan 18, 2019

thanks!

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

4 participants