From 136f6d67fbf1165a7d57a5fc24eca7b4c531db3e Mon Sep 17 00:00:00 2001 From: Steve Pulec Date: Wed, 23 Nov 2016 19:42:36 -0600 Subject: [PATCH] Add S3 ACL for aws-exec-read. Closes #740. --- moto/s3/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/moto/s3/models.py b/moto/s3/models.py index e9afa6173..c41ff3901 100644 --- a/moto/s3/models.py +++ b/moto/s3/models.py @@ -213,6 +213,8 @@ def get_canned_acl(acl): pass # TODO: bucket owner ACL elif acl == 'bucket-owner-full-control': pass # TODO: bucket owner ACL + elif acl == 'aws-exec-read': + pass # TODO: bucket owner, EC2 Read elif acl == 'log-delivery-write': grants.append(FakeGrant([LOG_DELIVERY_GRANTEE], [PERMISSION_READ_ACP, PERMISSION_WRITE])) else: