diff --git a/backend/config.py b/backend/config.py index 784c95d1..d7c9414f 100644 --- a/backend/config.py +++ b/backend/config.py @@ -187,7 +187,7 @@ DEFAULT_PROMPT_SUGGESTIONS = ( ) -DEFAULT_USER_ROLE = "pending" +DEFAULT_USER_ROLE = os.getenv("DEFAULT_USER_ROLE", "pending") USER_PERMISSIONS = {"chat": {"deletion": True}}