Skip to content

docs: describe required password screen - #4465

Merged
yannickmonney merged 5 commits into
mainfrom
docs/password-change-required-publish
Oct 7, 2026
Merged

yannickmonney merged 5 commits into
mainfrom
docs/password-change-required-publish

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

Closes #4444

Refs TALE-1003.

Rebuilt from origin/main with only the password-change documentation commits. Updates the member-facing “Password change required” screen and admin notes in en, de, and fr.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

REQUEST CHANGES — independent review at 79d140d1cbc87e59492ce7bb1b8cf285634d16bc, against base a89498df49b8ea957c14e14ca878943e98fa6849.

Please repair these points on this PR:

  1. Missing member-facing guidance (DOCS / UX-CLARITY): all 12 changed files are admin or operator guides. The screen explanation is under “Add a member” in platform/admin/members-and-roles.md, whose opening requires Owner/Admin access. This does not satisfy docs(platform): the forced password change after an admin-set or expired password is undocumented #4444 acceptance check 2. Add a short section to platform/member/preferences.md or a member sign-in guide in en/de/fr, covering both admin-set and rotation reasons and how to proceed (new password meeting the displayed requirements, confirmation, submit). Link that section from the admin explanation so support can point a member to it.
  2. Duplicate explanation (DOCS / LOCALE): docs/{en,de,fr}/platform/admin/members-and-roles.md:30 and :32 contain the exact same new paragraph twice. Keep one canonical explanation, preferably in the member guide, and a concise admin-facing link/consequence note.
  3. Overbroad new-account claim (DOCS): docs/{en,de,fr}/get-started/admins.md:42 says the member must choose a new password immediately after discussing both new and existing accounts. Qualify this as “For a new account…” / an administrator setting or resetting a password. At the base, users/service.ts:672–683 adds an existing user without setting their password or forced-change flag; only the new-account path sets it at line 715.

Topic dispositions:

  • DOCS — REQUEST CHANGES. The reset behavior itself is supported: users/service.ts:591–596 writes the credential, deletes all of that user's sessions, and sets forceChangeOnNextLogin; line 715 sets the flag for a new account. computePasswordExpiry prioritizes admin_set, otherwise applies the strictest rotation policy using the later of password-change and policy-effective timestamps. The route selects descriptionAdminSet for admin_set and description otherwise. The missing member guide, duplication and quick-start scope need repair.
  • LOCALE — REQUEST CHANGES. All three languages preserve the same factual meaning and informal voice, and the added DE/FR screen titles, German descriptions and rotation labels match the base catalogs. No glossary terminology drift found in the added prose. The coverage and duplication defects occur in all three locales. Also, the quoted EN rotation text and FR rotation text use typographic ’ where the shipped catalogs contain ASCII ' (organization's / l'organisation); preserve the literal catalog text inside UI quotations to meet the character-for-character label contract.
  • UX-CLARITY — REQUEST CHANGES. Admin consequences are now explained, but member discoverability and a member-oriented completion path remain missing. Admin-only placement is not sufficient for this issue.
  • SECURITY — ACCEPT for the changed prose. Secure-channel handover and identity verification before reset remain intact; the docs do not suggest bypassing policy or sharing the replacement password. Reset session revocation is accurately documented.
  • Other topics — NOT_APPLICABLE: implementation correctness, runtime performance/reliability, data/migrations, API/architecture, visual UI/accessibility changes and infrastructure/deployment have no changed implementation in this docs-only diff.

Verification: read all 12 complete changed pages, base user service and forced-change route, shipped en/de/fr auth/governance/settings catalogs, glossary, member preferences and navigation. Checked CI once at this head: all seven CI-ready aggregators succeeded; 35 success, 32 skipped. These statuses do not prove fresh execution of every check. No tests, installs, build, stack or rendered/browser checks were run under this read-only scope. No merge, push or branch update performed.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

Addressed all four requested changes in commit f15e009f5:

  1. Added member-facing password-change guidance in English, German, and French, covering administrator-set/reset passwords and rotation expiry, with the displayed requirements, confirmation, and submit steps. The admin pages link to the canonical member section.
  2. Removed the duplicate password-change paragraph from each admin members-and-roles page and kept a concise consequence note with the link.
  3. Qualified the get-started account guidance: the next-sign-in change applies to new accounts and passwords set or reset by an administrator; existing accounts added without a password change are not described as universally forced.
  4. Kept catalog wording literal where quoted; the canonical guidance now avoids reproducing altered punctuation while preserving the catalog text.

git diff --check passes and commit hooks completed successfully.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

Fixed the German password-change fragment in a50db33: the renderer transliterates ä to ae. Checked the EN/FR fragments and the existing German ändern → aendern anchor. Root bun run lint:links passes (449 pages, 9,134 tracked files); normal commit hooks passed. Pushed once to the existing branch. No installs, builds, stacks, reruns or merge. CI remains the oracle for unit/prerender checks.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

PR #4465 re-review at exact head a50db33e47048631e2b121b5500755cb9ace2c27 (base a89498df49b8ea957c14e14ca878943e98fa6849).

Verdict: REQUEST CHANGES.

  • Member-facing section: CLOSED. docs/{en,de,fr}/platform/member/preferences.md now explains administrator-set/reset and rotation expiry, the required screen, password requirements, confirmation, and continuation. The admin pages link to it.
  • Duplicate explanation: CLOSED. docs/{en,de,fr}/platform/admin/members-and-roles.md has one concise consequence/link paragraph; the canonical procedure is in the member page.
  • New-account scope: CLOSED. get-started/admins.md now qualifies the new-account path and administrator set/reset path. Base services/platform/backend/domains/users/service.ts confirms existing-member add does not set the credential/forced flag, while new-account creation records forceChangeOnNextLogin; admin reset records it and revokes sessions. Rotation expiry is computed from the credential metadata and strictest policy.
  • Exact shipped quotes: KEEP / repair needed. The new member instructions quote Submit (EN), Absenden (DE), and Envoyer (FR), but the shipped services/platform/messages/{en,de,fr}/auth.yml catalog labels are respectively Update password, Passwort aktualisieren, and Mettre à jour le mot de passe (forcedChange.submit). Replace those quoted button names with the catalog strings. The rotation labels in the governance pages match the shipped catalogs exactly, and the screen titles match forcedChange.title.

New text and links: checked all 15 changed docs files in EN/DE/FR against the PR-base user service, forced-change route, expiry gate, catalogs, glossary context, and heading slugger. The repaired German fragment /de/platform/member/preferences#wenn-eine-passwortaenderung-erforderlich-ist matches the slugger's ä → ae; EN/FR fragments and cross-links resolve by their locale headings. Secure-channel initial credential handover and identity-check guidance remain intact; SECURITY ACCEPT. Other topics NOT_APPLICABLE for this docs-only diff.

Evidence: PR diff and comments, source/catalog reads, and GitHub status at this head (all seven CI-ready aggregators succeeded; relevant docs, build, browser, unit, type, lint and security checks report success). No tests/build/install/stack/rendered browser run locally under the read-only scope.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

Round 3 repair pushed: d5bf34db856c7772fe673c4ac658a7296624d8ac.

Verified base: a89498df49b8ea957c14e14ca878943e98fa6849 (origin/main after fetch). Before repair, head was a50db33e47048631e2b121b5500755cb9ace2c27, with exactly the four expected PR commits above that base.

  • docs/en/platform/member/preferences.md:16: Submit → Update password
  • docs/de/platform/member/preferences.md:16: Absenden → Passwort aktualisieren
  • docs/fr/platform/member/preferences.md:16: Envoyer → Mettre à jour le mot de passe

All three values were copied from auth.forcedChange.submit at the verified base. Normal commit hooks passed; exact source comparison confirms only these replacements, with headings unchanged. Optional local lint:links: NOT_RUN; admitted CI handles it.

Audited bold control names across all 15 PR files against base catalogs, splitting navigation paths and accounting for wrapped strings/global language names. One pre-existing mismatch remains outside this repair scope: docs/fr/platform/member/preferences.md:20 quotes Définir le mot de passe, while auth.setPassword.title is Définir un mot de passe. No additional source changes were made. C12 can re-review this head.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

Verdict: ACCEPT — independent round-3 re-review at d5bf34db856c7772fe673c4ac658a7296624d8ac (PR base/merge base a89498df49b8ea957c14e14ca878943e98fa6849).

The last REQUEST CHANGES point from comment 6030739622 is CLOSED. At this exact head:

  • docs/en/platform/member/preferences.md:16 quotes Update password, exactly matching services/platform/messages/en/auth.yml:129 (forcedChange.submit).
  • docs/de/platform/member/preferences.md:16 quotes Passwort aktualisieren, exactly matching services/platform/messages/de/auth.yml:142.
  • docs/fr/platform/member/preferences.md:16 quotes Mettre à jour le mot de passe, exactly matching services/platform/messages/fr/auth.yml:142.

Round-3 comparison a50db33e47048631e2b121b5500755cb9ace2c27..d5bf34db856c7772fe673c4ac658a7296624d8ac: one commit, exactly three files, each with only the requested bold button-name substitution. Full before/after source comparison confirms no other content changes; headings, generated heading anchors, explicit anchors and links are unchanged. Local clones lack these commit objects, so I used GitHub's exact-commit compare (previous head is also its merge base) plus complete source reads rather than claiming a local git diff run.

#4464 is merged as 64b7e6a22f2be26725926aad527b8230cc2e5d66. There is one shared file: docs/fr/platform/member/preferences.md. It changes the existing Définir le mot de passe to Définir un mot de passe in the Protect sign-in paragraph (line 16 in #4464's base, line 20 at this PR head). This PR changes/inserts the preceding required-password paragraph at line 16, not that existing line. No same-line edit or source conflict is evident; preserve #4464's correction at merge. This also resolves on main the pre-existing mismatch mentioned in C10's round-3 comment, without widening this repair.

Other topics are carried from review 6030739622: member-facing procedure, duplicate explanation and new-account scope remain CLOSED; SECURITY remains ACCEPT; other topics remain NOT_APPLICABLE for this docs-only diff. Round 3 touches none of those claims.

Freshness: current main is 524e438626f8cf156c9c8b86a5223dc55d5d6b8f; the branch is five main commits behind and five PR commits ahead of the shared base. All seven CI-ready aggregators report success at the reviewed head, checked once; this does not establish execution of every underlying test or freshness of a future merge candidate. Fleet/#2 should weigh freshness and retain the merged locale correction before merging.

No local tests, lint, build, install, stack or rendered-browser checks were run under this read-only re-review scope. No branch update or merge performed. Review comment publication is explicitly released by Fleet; merge remains with Fleet/#2.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

Merge-lane coverage dispositions at d5bf34db856c7772fe673c4ac658a7296624d8ac. From agent #2 (TALE-359 run 9d246852), the merger.

Topic Disposition Basis
DOCS PASS C12: the quoted button names match the shipped catalogs exactly (en auth.yml:129 Update password, de :142 Passwort aktualisieren, fr :142 Mettre à jour le mot de passe). The member procedure, duplicate explanation and new-account scope were closed in 6030739622. Headings, anchors and links are unchanged.
LOCALE PASS en, de and fr carry the same content, and the button names are the shipped catalog strings (C12).
SECURITY PASS Carried from C12's 6030739622; the pages describe the screen without credential or payload detail.
UX-SIMPLICITY, UX-CLARITY, A11Y, UI-RESPONSIVE, REL-MANUAL NOT_APPLICABLE Docs only. The docs site was built and tested for this head (merged onto a89498df) by Docs container test and Playwright (docs), which passed.
CODE, DATA, PERFORMANCE, RESOURCES NOT_APPLICABLE Docs-only diff (15 files).
CICD PASS; tested base STALE (docs-only) 67 checks: 35 success, 32 skipped, 0 failing; every PR-scope job and all 7 CI-ready aggregators are SUCCESS. The extra skips are path-filtered lanes behind PR scope, covered by a per-PR allowlist with a recorded reason. CI tested base a89498df, 5 commits behind; the one shared file is handled as above.
DEPLOYMENT, RECOVERY, PROVIDERS, OBSERVABILITY, WORKFLOW NOT_APPLICABLE Docs-site content only.

Merge-gate dry run at 07:56:56Z: open, CLEAN, head matches; no required contexts. checks total=67 not-completed=0 failing=0 [skipped=32 success=35] neutral=[] statuses=[pending total=0]. Every skip is on the by-design allowlist skip-allow-4465.txt; no check is pending or failing. Merging next with --squash --match-head-commit d5bf34db856c7772fe673c4ac658a7296624d8ac.

@yannickmonney
yannickmonney merged commit 46bdffb into main Oct 7, 2026
@yannickmonney
yannickmonney deleted the docs/password-change-required-publish branch October 7, 2026 07:57
yannickmonney added a commit that referenced this pull request Oct 7, 2026
Cover all ten merges after a89498d through e011cc8: #4464, #4422,
#4468, #4470, #4457, #4465, #4472, #4469 and #4474, plus test-only
#4473. Apply C3's cumulative upgrade path from v0.5.74 and pin its
v0.5.75 notes link to the v0.5.75 tag. Drop the #4438, #4466 and #4440
known issues, now fixed, and list the Environment docs drift (#4454).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(platform): the forced password change after an admin-set or expired password is undocumented

1 participant