1
0
Fork 0
mirror of https://github.com/overleaf/toolkit.git synced 2025-04-19 07:18:06 +02:00

Downgrade error for using sandboxed compiles in CE to warning

This commit is contained in:
Jakob Ackermann 2024-08-30 17:20:06 +01:00
parent 293c8366ba
commit 0b555f07b7
No known key found for this signature in database
GPG key ID: 30C56800FCA3828A

View file

@ -32,12 +32,11 @@ function build_environment() {
if [[ $SERVER_PRO == "true" ]]; then if [[ $SERVER_PRO == "true" ]]; then
set_sibling_containers_vars set_sibling_containers_vars
else else
echo "ERROR: SIBLING_CONTAINERS_ENABLED=true is not supported in Overleaf Community Edition." >&2 echo "WARNING: SIBLING_CONTAINERS_ENABLED=true is not supported in Overleaf Community Edition." >&2
echo " Sibling containers are not available in Community Edition, which is intended for use in environments where all users are trusted. Community Edition is not appropriate for scenarios where isolation of users is required." >&2 echo " Sibling containers are not available in Community Edition, which is intended for use in environments where all users are trusted. Community Edition is not appropriate for scenarios where isolation of users is required." >&2
echo " When not using Sibling containers, users have full read and write access to the 'sharelatex' container resources (filesystem, network, environment variables) when running LaTeX compiles." >&2 echo " When not using Sibling containers, users have full read and write access to the 'sharelatex' container resources (filesystem, network, environment variables) when running LaTeX compiles." >&2
echo " Sibling containers are offered as part of our Server Pro offering and you can read more about the differences at https://www.overleaf.com/for/enterprises/features." >&2 echo " Sibling containers are offered as part of our Server Pro offering and you can read more about the differences at https://www.overleaf.com/for/enterprises/features." >&2
echo " Set SIBLING_CONTAINERS_ENABLED=false in config/overleaf.rc to continue using insecure in-container compiles." >&2 echo " Set SIBLING_CONTAINERS_ENABLED=false in config/overleaf.rc to continue using insecure in-container compiles." >&2
exit 1
fi fi
fi fi
if [[ $NGINX_ENABLED == "true" ]]; then if [[ $NGINX_ENABLED == "true" ]]; then