From 052771e02eb0f7614261586f8c14283a5787d54a Mon Sep 17 00:00:00 2001 From: Amit Sagtani Date: Mon, 12 Aug 2024 10:33:47 +0200 Subject: [PATCH] add variable to disable user/team creation --- values/webapp/prod-values.example.yaml | 2 ++ values/wire-server/prod-values.example.yaml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/values/webapp/prod-values.example.yaml b/values/webapp/prod-values.example.yaml index 29f033e25..3f42db76e 100644 --- a/values/webapp/prod-values.example.yaml +++ b/values/webapp/prod-values.example.yaml @@ -13,6 +13,8 @@ envVars: APP_NAME: "Webapp" ENFORCE_HTTPS: "true" FEATURE_CHECK_CONSENT: "false" + # Note: disabling showing the user creation is not the same thing as user creation being disabled. + # To disable user/team creation completely from backend, update the brig configuration in wire-server FEATURE_ENABLE_ACCOUNT_REGISTRATION: "true" FEATURE_ENABLE_DEBUG: "false" FEATURE_ENABLE_PHONE_LOGIN: "false" diff --git a/values/wire-server/prod-values.example.yaml b/values/wire-server/prod-values.example.yaml index d620566f0..369680c84 100644 --- a/values/wire-server/prod-values.example.yaml +++ b/values/wire-server/prod-values.example.yaml @@ -50,6 +50,9 @@ brig: # Sync the domain with the 'host' variable in the sftd chart # Comment the next line (by adding '#' before it) if conference calling is not used setSftStaticUrl: "https://sftd.example.com:443" + # If set to true, creating new personal users or new teams on your instance from + # outside your backend installation is disabled + setRestrictUserCreation: false # Uncomment and replace values below for adding federated backends # setFederationStrategy: allowDynamic # setFederationDomainConfigs: