From 1adb5802d1f15f3d98b670b7778cc6e5c0532c49 Mon Sep 17 00:00:00 2001 From: rutvikrj26 Date: Mon, 1 Apr 2024 21:54:13 -0400 Subject: [PATCH 1/2] Added the environment variable in the example file --- .env.example | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.env.example b/.env.example index 31f34d5ab7..8e07fd4f9b 100644 --- a/.env.example +++ b/.env.example @@ -214,3 +214,7 @@ CITI_SOAP_URL="https://webservices.citiprogram.org/SOAP/CITISOAPService.asmx" # See https://docs.djangoproject.com/en/4.2/ref/settings/ DATA_UPLOAD_MAX_NUMBER_FILES=1000 DATA_UPLOAD_MAX_MEMORY_SIZE=2621440 + +# Allowed Access Policies [Optional] - This is a list of access policies that can be assigned to a project +# The environment variable is a stringified list of access policies separated by commas +ALLOWED_ACCESS_POLICIES="RESTRICTED,CREDENTIALED,CONTRIBUTOR_REVIEW" \ No newline at end of file From 867576e448823eb4eb47833ada2fb25c352383bb Mon Sep 17 00:00:00 2001 From: rutvikrj26 Date: Wed, 17 Apr 2024 16:55:11 -0400 Subject: [PATCH 2/2] Updating the Comments and the location of the ALLOWED_ACCESS_POLICIES settings in the example env file --- .env.example | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index 8e07fd4f9b..25e80c643c 100644 --- a/.env.example +++ b/.env.example @@ -137,6 +137,10 @@ SSO_LOGIN_BUTTON_TEXT="Single Sign-On" ENABLE_FILE_DOWNLOADS_OPTION=true COPY_FILES_TO_NEW_VERSION=true +# Allowed Access Policies [Optional] - This is a list of access policies that can be assigned to a newly submitted project on the 'Project Access' page. +# The environment variable is a stringified list of access policies separated by commas +ALLOWED_ACCESS_POLICIES="OPEN,RESTRICTED,CREDENTIALED,CONTRIBUTOR_REVIEW" + # Used for bucket creation GCP_DOMAIN= @@ -214,7 +218,3 @@ CITI_SOAP_URL="https://webservices.citiprogram.org/SOAP/CITISOAPService.asmx" # See https://docs.djangoproject.com/en/4.2/ref/settings/ DATA_UPLOAD_MAX_NUMBER_FILES=1000 DATA_UPLOAD_MAX_MEMORY_SIZE=2621440 - -# Allowed Access Policies [Optional] - This is a list of access policies that can be assigned to a project -# The environment variable is a stringified list of access policies separated by commas -ALLOWED_ACCESS_POLICIES="RESTRICTED,CREDENTIALED,CONTRIBUTOR_REVIEW" \ No newline at end of file