+Clause-②: yes (narrowing) — narrowed: with nothing stored, `SettingsService.get('auth', …)` and `GET /api/settings/auth` answer `email_password_enabled`, `signup_enabled` and `require_email_verification` with the deployment's declaration (still `source: 'default'`), where they answered the manifest default; so on a cloud-managed runtime (`OS_CLOUD_MANAGED=1`) whose deployment declares `emailAndPassword.enabled: false`, a save of `email_password_enabled: true` with nothing stored answers `400 SETTINGS_VALIDATION` (`invalid_value` at the key) and saves nothing in the batch, where it saved a row that was not applied; and a save that sets one of these keys to its manifest default where the declaration differs now asks the key's write predicates. Widened: a save that sets one of these keys to the declaration with nothing stored is no change and asks no predicate; on a deployment that declares `emailAndPassword.enabled: false` with nothing stored, the ten `auth` keys visible only while `email_password_enabled !== false` (`signup_enabled`, `require_email_verification`, `password_min_length`, `password_max_length`, `password_reject_breached`, `password_require_complexity`, `password_min_classes`, `password_history_count`, `password_expiry_days`, `mfa_required`) are hidden, so a save of one of them is no longer judged for `required`, options or bounds (for example `password_min_length: 2` is now stored where it was refused `400 SETTINGS_VALIDATION`), as under a stored `email_password_enabled: false`; a save that turns `email_password_enabled` on re-judges them; `AuthManager.resolveDisableSignUp(declared)` (public method). The Setup → Authentication live-status banner no longer states the declared-off, nothing-saved case (the switch says it): its `declaredOffLabel` / `declaredOffText` copy is removed, and the cloud-managed statement is always a `warning`.
0 commit comments