S3 keys inherit bucket ACL
This commit is contained in:
parent
4b1120b064
commit
ca7661bc1e
2 changed files with 4 additions and 2 deletions
|
|
@ -870,7 +870,7 @@ def test_s3_object_in_public_bucket():
|
|||
s3 = boto3.resource('s3')
|
||||
bucket = s3.Bucket('test-bucket')
|
||||
bucket.create(ACL='public-read')
|
||||
bucket.put_object(ACL='public-read', Body=b'ABCD', Key='file.txt')
|
||||
bucket.put_object(Body=b'ABCD', Key='file.txt')
|
||||
|
||||
s3_anonymous = boto3.resource('s3')
|
||||
s3_anonymous.meta.client.meta.events.register('choose-signer.s3.*', disable_signing)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue