{"action":"created","issue":{"url":"https://api.github.com/repos/spulec/moto/issues/1168","repository_url":"https://api.github.com/repos/spulec/moto","labels_url":"https://api.github.com/repos/spulec/moto/issues/1168/labels{/name}","comments_url":"https://api.github.com/repos/spulec/moto/issues/1168/comments","events_url":"https://api.github.com/repos/spulec/moto/issues/1168/events","html_url":"https://github.com/spulec/moto/issues/1168","id":259208942,"number":1168,"title":"Can't read from S3 bucket after setting ACL='public-read' when creating the bucket.","user":{"login":"anders33","id":32135721,"avatar_url":"https://avatars3.githubusercontent.com/u/32135721?v=4","gravatar_id":"","url":"https://api.github.com/users/anders33","html_url":"https://github.com/anders33","followers_url":"https://api.github.com/users/anders33/followers","following_url":"https://api.github.com/users/anders33/following{/other_user}","gists_url":"https://api.github.com/users/anders33/gists{/gist_id}","starred_url":"https://api.github.com/users/anders33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anders33/subscriptions","organizations_url":"https://api.github.com/users/anders33/orgs","repos_url":"https://api.github.com/users/anders33/repos","events_url":"https://api.github.com/users/anders33/events{/privacy}","received_events_url":"https://api.github.com/users/anders33/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-20T15:36:52Z","updated_at":"2017-09-21T02:09:35Z","closed_at":null,"author_association":"NONE","body":"Problem reading from s3 bucket after issue #1125 was solved.\r\nThis problem seems to be ralated to issue: Setting S3 bucket ACL has no effect #798\r\n\r\nTest code:\r\n```\r\n @mock_s3\r\n def test_s3_object_in_public_bucket():\r\n    s3 = boto3.resource('s3')\r\n    bucket = s3.Bucket('test-bucket')\r\n    bucket.create(ACL='public-read')\r\n    bucket.put_object(Body=b'ABCD', Key='file.txt')\r\n    direct_url = 'https://test-bucket.s3.amazonaws.com/file.txt'\r\n    response = requests.get(direct_url)\r\n    assert response.status_code == 200\r\n```"},"comment":{"url":"https://api.github.com/repos/spulec/moto/issues/comments/331030677","html_url":"https://github.com/spulec/moto/issues/1168#issuecomment-331030677","issue_url":"https://api.github.com/repos/spulec/moto/issues/1168","id":331030677,"user":{"login":"JackDanger","id":2071,"avatar_url":"https://avatars0.githubusercontent.com/u/2071?v=4","gravatar_id":"","url":"https://api.github.com/users/JackDanger","html_url":"https://github.com/JackDanger","followers_url":"https://api.github.com/users/JackDanger/followers","following_url":"https://api.github.com/users/JackDanger/following{/other_user}","gists_url":"https://api.github.com/users/JackDanger/gists{/gist_id}","starred_url":"https://api.github.com/users/JackDanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackDanger/subscriptions","organizations_url":"https://api.github.com/users/JackDanger/orgs","repos_url":"https://api.github.com/users/JackDanger/repos","events_url":"https://api.github.com/users/JackDanger/events{/privacy}","received_events_url":"https://api.github.com/users/JackDanger/received_events","type":"User","site_admin":false},"created_at":"2017-09-21T02:09:35Z","updated_at":"2017-09-21T02:09:35Z","author_association":"COLLABORATOR","body":"Thanks for finding this! Fixed in #1169"}}
{"actor":{"display_login":"JackDanger"}}