Skip to content

Commit 050bc1c

Browse files
committed
fix(platform-objects): require_mfa field help says it needs two-factor on (WIP)
Claude-Session: https://claude.ai/code/session_01Utp6Cai3TgWyncLtR5EwF7 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 3ae3260 commit 050bc1c

4 files changed

Lines changed: 10 additions & 5 deletions

File tree

‎packages/platform-objects/src/apps/translations/es-ES.objects.generated.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ export const esESObjects: NonNullable<TranslationData['objects']> = {
557557
},
558558
require_mfa: {
559559
label: "Exigir autenticación multifactor",
560-
help: "Si es true, todos los miembros de esta organización deben registrar una aplicación de autenticación para acceder a los datos."
560+
help: "Si es true, todos los miembros de esta organización deben registrar una aplicación de autenticación para acceder a los datos. Requiere que la autenticación de dos factores esté activada en esta implementación (OS_AUTH_TWO_FACTOR=true); mientras esté desactivada, guardarlo como true se rechaza."
561561
},
562562
timezone: {
563563
label: "Zona horaria",

‎packages/platform-objects/src/apps/translations/ja-JP.objects.generated.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ export const jaJPObjects: NonNullable<TranslationData['objects']> = {
557557
},
558558
require_mfa: {
559559
label: "多要素認証を必須化",
560-
help: "true の場合、この組織のすべてのメンバーはデータにアクセスするために認証アプリの登録が必要になります。"
560+
help: "true の場合、この組織のすべてのメンバーはデータにアクセスするために認証アプリの登録が必要になります。このデプロイで二要素認証がオンになっている必要があります(OS_AUTH_TWO_FACTOR=true)。オフの間は true で保存すると拒否されます。"
561561
},
562562
timezone: {
563563
label: "タイムゾーン",

‎packages/platform-objects/src/apps/translations/zh-CN.objects.generated.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ export const zhCNObjects: NonNullable<TranslationData['objects']> = {
557557
},
558558
require_mfa: {
559559
label: "强制多因素认证",
560-
help: "为 true 时,该组织的每位成员都必须注册身份验证器 App 才能访问数据。"
560+
help: "为 true 时,该组织的每位成员都必须注册身份验证器 App 才能访问数据。需要本部署开启双重验证(OS_AUTH_TWO_FACTOR=true);双重验证关闭时,保存为 true 会被拒绝。"
561561
},
562562
timezone: {
563563
label: "时区",

‎packages/platform-objects/src/identity/sys-organization.object.ts‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,13 +395,18 @@ export const SysOrganization = ObjectSchema.create({
395395
// ADR-0069 D3 — per-org MFA tightening above the global floor. When true,
396396
// members of this org must enrol TOTP to access data (enforced at the
397397
// session-validation gate). An org can only tighten, never loosen, the
398-
// global `mfa_required` setting.
398+
// global `mfa_required` setting. Saving it on is refused while two-factor
399+
// enrollment is off for the deployment (plugin-auth's
400+
// `organization-mfa-enrollment-guard.ts`), which the help says (#30411).
399401
require_mfa: Field.boolean({
400402
label: 'Require Multi-Factor Auth',
401403
required: false,
402404
defaultValue: false,
403405
group: 'Configuration',
404-
description: 'When true, every member of this organization must enroll an authenticator app to access data.',
406+
description:
407+
'When true, every member of this organization must enroll an authenticator app to access data. ' +
408+
'Needs two-factor authentication on for this deployment (OS_AUTH_TWO_FACTOR=true); while it is off, ' +
409+
'saving this as true is refused.',
405410
}),
406411

407412
// #14238 — maintainer ruling 2026-09-02, option A (verbatim 「同意」): the

0 commit comments

Comments
 (0)