Skip to content

[M2.2e3c] Manage scoped token forms and metadata pages - #70

Merged
samuelmbabhazi merged 1 commit into
mainfrom
feat/m2.2e3c-token-form-state
Nov 5, 2026
Merged

samuelmbabhazi merged 1 commit into
mainfrom
feat/m2.2e3c-token-form-state

Conversation

@samuelmbabhazi

Copy link
Copy Markdown
Collaborator

Token form state now supports bounded-lifetime profile-read credentials, password/MFA reauthentication, explicit revocation and forward/back metadata pages. It retains one page at a time and distinguishes unavailable data from an empty list. Tenant permissions remain fail-closed until the M2.3 live-policy adapter and selection UI.

The absolute expiry is fixed when a form starts or its lifetime changes, preserving identical request bodies/keys after uncertain failures. Private credentials clear on acknowledgement, timeout, departure or session rotation; clearing the display does not revoke a saved token. Mutations share the account gate and refresh metadata only after server confirmation. HTTP 409 copy now describes an account-state conflict, including capacity constraints, instead of incorrectly claiming every conflict is an expired retry.

Validation: all 48 Angular tests pass, including seven token-form tests covering pagination, validation, stable retries, required proof, revocation, failed loads and stale/private-state cleanup. Web lint/typecheck/build pass. No new dependency or backend contract. Plan/spec updated. Stacked on #69; panel wiring follows in M2.2e3d. No merge requested.

  • M2.2e3c criteria met
  • Retry, proof, pagination and private-state regressions
  • Plan/spec updated
  • No credential in metadata pages, URLs or persistent browser storage

@samuelmbabhazi
samuelmbabhazi force-pushed the feat/m2.2e3b-mfa-screens branch from 1c50679 to 24f74b4 Compare November 5, 2026 12:40
@samuelmbabhazi
samuelmbabhazi changed the base branch from feat/m2.2e3b-mfa-screens to main November 5, 2026 12:40
@samuelmbabhazi
samuelmbabhazi force-pushed the feat/m2.2e3c-token-form-state branch from 5543daa to cde5910 Compare November 5, 2026 12:40
@samuelmbabhazi
samuelmbabhazi merged commit 4940456 into main Nov 5, 2026
9 checks passed
@samuelmbabhazi
samuelmbabhazi deleted the feat/m2.2e3c-token-form-state branch November 5, 2026 12:40
samuelmbabhazi added a commit that referenced this pull request Nov 5, 2026
Account security now includes token creation/revocation forms, bounded
lifetime choices, a one-time credential display and paginated metadata.
The table exposes permissions, creation/use dates, expiry and status;
its horizontal region is keyboard accessible on narrow screens. Copying
remains explicit, and acknowledgement removes the credential.

MFA/session rotation clears any displayed credential and refreshes the
token list. Expiry labels update without additional API traffic, and
inactive rows cannot offer active-token revocation. Shared mutation
gating remains in force while each form/sign-out control reports only
its own operation's progress. Background loads now use Angular
PendingTasks so application/test stability reflects actual requests.

Validation: all 50 Angular tests pass; web lint, typecheck and
production build pass. The new rendered-flow test covers explicit copy
and immediate credential removal on MFA rotation, with a separate
expiry-clock regression. Initial production payload is 353 kB raw / 93
kB estimated transfer. No new dependency or backend contract. Plan/spec
updated.

Stacked on #70. This PR stays draft until real-browser/backend
acceptance and the final desktop/mobile design/accessibility review in
M2.2e4. No merge requested.

- [x] Token forms, metadata and private-display lifecycle
- [x] Web checks and regression tests
- [x] Plan/spec updated
- [ ] Real-browser and final design/accessibility review (M2.2e4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant