From 2221b066010029e5cf5c7ac6593c27aae0ba1c6f Mon Sep 17 00:00:00 2001 From: Amjith Titus Date: Mon, 12 Aug 2024 11:13:47 +0530 Subject: [PATCH] Explicity mention Public Read ACL for Facility Image S3 Uploads (#2344) --- care/facility/api/serializers/facility.py | 1 + 1 file changed, 1 insertion(+) diff --git a/care/facility/api/serializers/facility.py b/care/facility/api/serializers/facility.py index 28df9b80f7..7d8aea793f 100644 --- a/care/facility/api/serializers/facility.py +++ b/care/facility/api/serializers/facility.py @@ -172,6 +172,7 @@ def save(self, **kwargs): Bucket=bucket_name, Key=image_location, Body=image.file, + ACL="public-read", ) facility.cover_image_url = image_location facility.save()