Repository navigation
[M2.2e3c] Manage scoped token forms and metadata pages - #70
Merged
Merged
Conversation
3 of 4 tasks
samuelmbabhazi
force-pushed
the
feat/m2.2e3b-mfa-screens
branch
from
November 5, 2026 12:40
1c50679 to
24f74b4
Compare
samuelmbabhazi
force-pushed
the
feat/m2.2e3c-token-form-state
branch
from
November 5, 2026 12:40
5543daa to
cde5910
Compare
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.