Skip to content

The open alternative to Salesforce, designed for AI.

Hide Twenty-operated config variables from the admin panel (#25068)

Félix Malfait6330c6fedcd8
diff --git a/packages/twenty-server/src/engine/core-modules/twenty-config/config-variables.ts b/packages/twenty-server/src/engine/core-modules/twenty-config/config-variables.ts
index 7a84e276d6b..4dd37ab8b2a 100644
--- a/packages/twenty-server/src/engine/core-modules/twenty-config/config-variables.ts
+++ b/packages/twenty-server/src/engine/core-modules/twenty-config/config-variables.ts
@@ -559,6 +559,7 @@ export class ConfigVariables {
group: ConfigVariablesGroup.SERVER_CONFIG,
description:
'Deployment region that determines the DPA hosting location shown to customers. The Processor entity (Twenty.com PBC) and governing law (Delaware, USA) are the same for all regions. EU (default) = Frankfurt, Germany; US = United States. Must match where Customer Personal Data actually lives.',
+ isHiddenInAdminPanel: true,
type: ConfigVariableType.ENUM,
options: Object.values(DpaRegion),
// Deployment-fixed: must mirror where data actually lives. Allowing a
@@ -1528,6 +1529,7 @@ export class ConfigVariables {
group: ConfigVariablesGroup.SERVER_CONFIG,
description:
'ISO date from which HTTP logic functions are no longer served on the legacy /s/ route. Functions created on or after this date are only reachable on the isolated public domain (*.withtwenty.com). Only enforced when PUBLIC_DOMAIN_URL is set; leave empty to keep serving every function on /s/ (default for self-hosting).',
+ isHiddenInAdminPanel: true,
type: ConfigVariableType.STRING,
})
@IsDateString()
@@ -2306,6 +2308,7 @@ export class ConfigVariables {
group: ConfigVariablesGroup.ADVANCED_SETTINGS,
description:
'Client ID of the GitHub OAuth app used to verify app ownership when claiming a marketplace application',
+ isHiddenInAdminPanel: true,
type: ConfigVariableType.STRING,
})
@IsString()
@@ -2317,6 +2320,7 @@ export class ConfigVariables {
isSensitive: true,
description:
'Client secret of the GitHub OAuth app used to verify app ownership when claiming a marketplace application',
+ isHiddenInAdminPanel: true,
type: ConfigVariableType.STRING,
})
@IsString()