From 90a68949479a25a5cdf7d1eebf126795d6f35034 Mon Sep 17 00:00:00 2001 From: Syed Muhammad Dawoud Sheraz Ali Date: Mon, 26 Aug 2024 12:04:12 +0500 Subject: [PATCH] sec: openedx-translations sec patch --- tutor/templates/config/defaults.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tutor/templates/config/defaults.yml b/tutor/templates/config/defaults.yml index 65a9de2983..0c0f6dd529 100644 --- a/tutor/templates/config/defaults.yml +++ b/tutor/templates/config/defaults.yml @@ -4,7 +4,14 @@ # This must be defined early ATLAS_REVISION: "{% if OPENEDX_COMMON_VERSION == 'master' %}main{% else %}{{ OPENEDX_COMMON_VERSION }}{% endif %}" ATLAS_REPOSITORY: "openedx/openedx-translations" -ATLAS_OPTIONS: "" +# Set revision to redwood.2.1 until redwood.3 tag is available. +# redwood.2.1 is only available for openedx-translations +# It is done here so that the config is available across all plugins. +# openedx-atlas currently only supports branches or tags against revision +# https://github.com/openedx/openedx-atlas?tab=readme-ov-file#usage +# Security patch: https://discuss.openedx.org/t/security-upcoming-security-release-for-openedx-translations-2024-08-23/13720 +# https://github.com/openedx/openedx-translations/releases/tag/open-release%2Fredwood.2.1 +ATLAS_OPTIONS: "{% if OPENEDX_COMMON_VERSION == 'master' %}{% else %}--revision=open-release/redwood.2.1{% endif %}" CADDY_HTTP_PORT: 80 CMS_HOST: "studio.{{ LMS_HOST }}" CMS_OAUTH2_KEY_SSO: "cms-sso"