From f9915efa5ea0714178fc60d11a0d5434e7b1e600 Mon Sep 17 00:00:00 2001 From: Doug Luce Date: Tue, 15 Mar 2022 08:57:12 -0700 Subject: Make object storage ACL configurable Override this value to allow uploads to non-public S3 buckets. Otherwise "AccessDenied: Access Denied" errors will end up in the log. Fixes #4850 --- server/initializers/config.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'server/initializers') diff --git a/server/initializers/config.ts b/server/initializers/config.ts index 3aadd9cbd..1658298c5 100644 --- a/server/initializers/config.ts +++ b/server/initializers/config.ts @@ -114,6 +114,7 @@ const CONFIG = { MAX_UPLOAD_PART: bytes.parse(config.get('object_storage.max_upload_part')), ENDPOINT: config.get('object_storage.endpoint'), REGION: config.get('object_storage.region'), + UPLOAD_ACL: config.get('object_storage.upload_acl'), CREDENTIALS: { ACCESS_KEY_ID: config.get('object_storage.credentials.access_key_id'), SECRET_ACCESS_KEY: config.get('object_storage.credentials.secret_access_key') -- cgit v1.2.3