From ff333cac3da7f876ba5580815be21157ffa6ef0e Mon Sep 17 00:00:00 2001
From: ThomasBidot <77505438+ThomasBidot@users.noreply.github.com>
Date: Sun, 26 Sep 2021 14:44:11 +0200
Subject: [PATCH] Solve public permission files on AWS

---
 project/aws/conf.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/project/aws/conf.py b/project/aws/conf.py
index ee406b5..3600767 100644
--- a/project/aws/conf.py
+++ b/project/aws/conf.py
@@ -53,3 +53,7 @@ MEDIA_URL = 'https://' + AWS_S3_CUSTOM_DOMAIN + 'media/'
 
 # Direct the MEDIA_ROOT to the media/ directory inside the bucket
 MEDIA_ROOT = 'media'
+
+# ACL for public read
+AWS_DEFAULT_ACL = "public-read"
+ACL = 'public-read'
-- 
GitLab