From 7b57f3f56bb994aa9540dd81baf92feafc020ae3 Mon Sep 17 00:00:00 2001 From: Jared Lockhart <119884+jaredlockhart@users.noreply.github.com> Date: Wed, 30 Oct 2024 14:52:38 -0400 Subject: [PATCH] bug(project): disable signed urls Because * To migrate to GCPV2 we must disable signed urls This commit * Disables signed urls fixes #11651 --- experimenter/experimenter/settings.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/experimenter/experimenter/settings.py b/experimenter/experimenter/settings.py index 5385dc398c..6b0c963224 100644 --- a/experimenter/experimenter/settings.py +++ b/experimenter/experimenter/settings.py @@ -506,11 +506,14 @@ STORAGES = { "default": { "BACKEND": UPLOADS_FILE_STORAGE, - "OPTIONS": { - "bucket_name": UPLOADS_GS_BUCKET_NAME, - } - if UPLOADS_GS_BUCKET_NAME - else {}, + "OPTIONS": ( + { + "bucket_name": UPLOADS_GS_BUCKET_NAME, + "querystring_auth": False, + } + if UPLOADS_GS_BUCKET_NAME + else {} + ), }, "staticfiles": { "BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage",