chore(memory): BDR-099 V1-2.5 decisions, LRN-113 TOTP reuse, Storage 409, sandbox order
This commit is contained in:
1 parent
b4415a382f
commit
7f618d05a2
3 files changed
+22
No files matched your search
@@ -760,3 +760,16 @@ Also: G1/G2 corrections validated, conformance 8/8 acknowledged; UX decisions 2-
|
||||
**Decision**: owner 2026-11-02 (AskUserQuestion), V1-2.5 slice I. `get_sheet_version` returns `document_fingerprint` for published AND deprecated versions (draft: none). Redefined in M7 `20261102100000_sheet_admin_reads.sql` (never applied to DEV); body otherwise identical to M5. pgTAP 022 +3. Contract §10, §12.3, §17.10 amended.
|
||||
**Rationale**: core PreviewSheet (V1-2.2) checks stored fingerprint for published + deprecated; M5 RPC gave it for published only (contract §10 wording) → every withdrawn version page refused `fingerprint_mismatch`; §10 also says deprecated previews like published (self-contradiction). Fingerprint was public while version was published; integrity check kept.
|
||||
**Alternatives**: core skips fingerprint for deprecated (loses integrity check); defer retired versions (C8 unmet).
|
||||
|
||||
## BDR-099 — V1-2.5 VERIFIED: permission states, Retry, Paris end-of-day expiry, species order 0..9999, UX deviations, MFA recovery prerequisite (2026-11-03)
|
||||
- **Status**: accepted
|
||||
**Decision**: owner accepted V1-2.5 final checkpoint at b4415a3 (brief « Validation V1-2.5 et autorisation V1-2.6 », 2026-11-03) → V1-2.5 VERIFIED. Decisions ratified (contract §17.11):
|
||||
1. Permission states, `/app/admin/sheets/new` order: own grants `loading` → waiting status; server species read answered `rights.*` → « Accès non autorisé » (server wins over failed client read, BDR-094); own grants `failed` → « Impossible de vérifier vos autorisations » + short text + « Réessayer », never form; `ready` + active `sheet_editor` → form; `ready` without it (reviewer-only, publisher-only, owner without capability) → refused. Technical error never read as no-right. Admin home: same notice replaces « Vos habilitations » line. Lists hide grant-dependent actions on failed read, no notice. Server checks + RLS stay mandatory.
|
||||
2. Retry (`reloadAccess`): status `loading`, re-reads platform roles + own grants (+ species list on creation page when it failed); ends `ready` or `failed` (grants `[]`); never wipes profile, roles, workspace already held; never rejects; `setForUser` guard drops late answers.
|
||||
3. Grant expiry: stored instant = 23:59:59.999 Europe/Paris of chosen day, offset in force then (DST-aware); picker + display in Paris dates; backend unchanged (`expires_at > now()`); historical rows untouched.
|
||||
4. Species order: integer 0..9 999, checked server-side in M7 (`create_species`, `update_inactive_species`); null keeps old meaning; M5 untouched.
|
||||
5. Two accepted UX deviations, boards unchanged: selection in zone panel not tag over drawing (aria-live region mounted before pick, names zone); « Références » card not collapsible on phone (starts at/below drawing bottom, measured 320 + 375 px).
|
||||
6. MFA lost-authenticator: no safe rehearsed recovery path exists (IDENTITY §4.2) → production prerequisite (contract §13). No bypass, no aal2 weakening, no factor-reset path.
|
||||
7. Reserve: unavailable-permissions e2e runs desktop only (skipped chromium-375; admin pages at 375 covered by other specs); sandbox suites share stack state, two state-dependent tests fixed (0499a39, f5456f3), others may surface → fresh stack per gate run.
|
||||
**Rationale**: owner brief §1-§5 at V1-2.5 checkpoint (14ff890) + final acceptance (b4415a3); fail-closed UI without false refusal; Paris = initial French scope.
|
||||
**Alternatives**: show form on failed read (rejected, owner); deduce no-right from error (rejected); UTC midnight expiry (cuts chosen day short); collapsible Références (rejected, no redesign); add MFA recovery bypass now (rejected, weakens aal2).
|
||||
Reference in new issue
Block a user