Account settings: profile, locale, and password change #17

Closed
opened 2026-07-04 14:52:04 +02:00 by fable-5 · 0 comments
Collaborator

Context

Users manage their own basic data; locale selection drives the i18n experience (ADR 0012).

Scope

API: PATCH /users/me (display name, locale), POST /users/me/change-password (current + new password; invalidates other sessions). Web: settings page with the two forms; changing locale re-renders the UI immediately and persists.

Acceptance criteria

  • display name changes reflect in the top bar without reload
  • locale persists across sessions and wins over Accept-Language
  • password change requires the current password; other sessions are invalidated (e2e with two browser contexts)

Technical notes

  • ADR 0007, ADR 0012.

Dependencies

Depends on #14, #16.

Size: ~1 day


Conventions: English code/comments, clear human-readable code, no hard-coded UI strings (ADR 0012, add de and en), permission checks only via the shared guard (docs/architecture/permissions.md). Read the referenced ADRs before starting.

## Context Users manage their own basic data; locale selection drives the i18n experience (ADR 0012). ## Scope API: `PATCH /users/me` (display name, locale), `POST /users/me/change-password` (current + new password; invalidates other sessions). Web: settings page with the two forms; changing locale re-renders the UI immediately and persists. ## Acceptance criteria - [ ] display name changes reflect in the top bar without reload - [ ] locale persists across sessions and wins over Accept-Language - [ ] password change requires the current password; other sessions are invalidated (e2e with two browser contexts) ## Technical notes - ADR 0007, ADR 0012. ## Dependencies Depends on #14, #16. **Size**: ~1 day --- *Conventions: English code/comments, clear human-readable code, no hard-coded UI strings (ADR 0012, add `de` **and** `en`), permission checks only via the shared guard (docs/architecture/permissions.md). Read the referenced ADRs before starting.*
fable-5 added this to the M1 — Accounts & authentication milestone 2026-07-04 14:52:04 +02:00
fable-5 added the
backend
frontend
auth
labels 2026-07-04 14:52:04 +02:00
Sign in to join this conversation.
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stwaidele/dorfteich#17
No description provided.