administrator: the screens still say revoking Administrator closes the control panel — it no longer does for a steward (ADR 0289 amended 2026-09-29) #1998

Closed
opened 2026-09-29 15:00:54 +00:00 by ben · 1 comment
Owner

Parent

  • Design: ADR 0289, amended 2026-09-29 — a steward opens the control panel, with or without Administrator (on main at 2ac82b29, #1997).
  • Flow: docs/ux/flows/administrator-credential.mermaid · Wireframes: docs/ux/wireframes/administrator-credential/ — ac-r1-access-removed.html, ac-x1-last-administrator.html, and the Administrator card drawn by DDR 0288.

Why

The rule changed and the screens still say the old one. Three places now tell a steward something that is no longer true:

  1. The Administrator card's Revoke, on a member who is a steward: nothing says that revoking will not close the control panel to them. Ben revoked one by mistake on Whakatōhea Demo (2026-09-29) and could not tell what it had done.
  2. The Membership card's note (IdipMemberCredentials.vue) — suspending does not close the panel; revoking Administrator does — is wrong for a steward in its second half.
  3. AC-R1 is no longer reachable by a steward. Its wireframe carries a note; the flow does not show the edge that replaces it.

What to do

Design-tier first, then the build:

  1. Redraw the Administrator card's revoke confirm for a holder who is a steward: what revoking removes (admin in the community's services), and what it does not (the control panel — they are a steward). Amend the flow so revokes a steward's Administrator lands on the panel staying open, not on AC-R1.
  2. Amend the Membership card's note for a steward.
  3. Correct one sentence in ADR 0289's amendment. Decision 5 says the wallet "falls back in the same sign-in". A sign-in challenge is single-use, so it cannot: the fallback is presented on the next code. matou-app#690 is written correctly; the ADR's sentence should match it.
  4. Build the copy in dashboard/src/components/members/IdipMemberCredentials.vue against the redrawn frames. The panel knows whether a holder is a steward from the ledger row's standing; whether the signed-in person is one from GET /api/v1/panel/whoami (#1996).

Acceptance criteria

  • Given a holder who is a steward, when Revoke is chosen on their Administrator, then the confirm says the control panel stays open to them, and names what is removed.
  • Given a holder who is not a steward, then the confirm is unchanged.
  • Given a steward signed in to the panel, when their Administrator is revoked, then their tab stays where it is and never renders AC-R1 — asserted at the dashboard's seam.
  • Every data-field / data-action on the redrawn frames is present in the built surface.

Why session

Design-tier work — a flow and wireframes to redraw, an ADR sentence to correct — before anything is built (ready-for-session, ADR 0174). The build that follows is ordinary.

Blocked by

None.


Filed 2026-09-29 from Ben's lockout on Whakatōhea Demo.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WgMdPvssS1d7W1v2dL7bcH

## Parent - **Design:** ADR 0289, amended 2026-09-29 — *a steward opens the control panel, with or without Administrator* (on main at `2ac82b29`, #1997). - **Flow:** `docs/ux/flows/administrator-credential.mermaid` · **Wireframes:** `docs/ux/wireframes/administrator-credential/` — `ac-r1-access-removed.html`, `ac-x1-last-administrator.html`, and the Administrator card drawn by DDR 0288. ## Why The rule changed and the screens still say the old one. Three places now tell a steward something that is no longer true: 1. **The Administrator card's Revoke**, on a member who is a steward: nothing says that revoking will **not** close the control panel to them. Ben revoked one by mistake on Whakatōhea Demo (2026-09-29) and could not tell what it had done. 2. **The Membership card's note** (`IdipMemberCredentials.vue`) — *suspending does not close the panel; revoking Administrator does* — is wrong for a steward in its second half. 3. **AC-R1** is no longer reachable by a steward. Its wireframe carries a note; the flow does not show the edge that replaces it. ## What to do Design-tier first, then the build: 1. **Redraw** the Administrator card's revoke confirm for a holder who is a steward: what revoking removes (admin in the community's services), and what it does not (the control panel — they are a steward). Amend the flow so *revokes a steward's Administrator* lands on the panel staying open, not on AC-R1. 2. **Amend the Membership card's note** for a steward. 3. **Correct one sentence in ADR 0289's amendment.** Decision 5 says the wallet *"falls back in the same sign-in"*. A sign-in challenge is single-use, so it cannot: the fallback is presented on the **next** code. matou-app#690 is written correctly; the ADR's sentence should match it. 4. **Build** the copy in `dashboard/src/components/members/IdipMemberCredentials.vue` against the redrawn frames. The panel knows whether a holder is a steward from the ledger row's standing; whether the **signed-in** person is one from `GET /api/v1/panel/whoami` (#1996). ## Acceptance criteria - [ ] **Given** a holder who is a steward, **when** Revoke is chosen on their Administrator, **then** the confirm says the control panel stays open to them, and names what is removed. - [ ] **Given** a holder who is not a steward, **then** the confirm is unchanged. - [ ] **Given** a steward signed in to the panel, **when** their Administrator is revoked, **then** their tab stays where it is and never renders AC-R1 — asserted at the dashboard's seam. - [ ] Every `data-field` / `data-action` on the redrawn frames is present in the built surface. ## Why session Design-tier work — a flow and wireframes to redraw, an ADR sentence to correct — before anything is built (`ready-for-session`, ADR 0174). The build that follows is ordinary. ## Blocked by None. --- *Filed 2026-09-29 from Ben's lockout on Whakatōhea Demo.* 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01WgMdPvssS1d7W1v2dL7bcH

Close-report — landed on main at 75dc70df. Design-tier first, then the build, per the ticket's ready-for-session routing.

The gateway already spared a steward on an Administrator revoke (#1997 on main). This ticket fixes the three surfaces that still told a steward the old rule.

Design-tier

  • Flow docs/ux/flows/administrator-credential.mermaid: revokes a steward's Administrator now lands on the panel staying open (S4 → A1), not AC-R1; AC-R1 (R2) is re-labelled a former administrator who is not a steward — the edge the AC-R1 wireframe's ✎ note had described but the flow did not show.
  • Wireframe docs/ux/wireframes/p6-members-idip/p6-s4i-member-detail.html: a steward-holder-variant of the Administrator card + Membership note — same administrator-grants-held / suspend-keeps-panel-note data-fields, corrected copy. (AC-R1's own wireframe already carried the steward ✎ note.)
  • ADR 0289 decision 5's first point corrected: the wallet falls back on the next code, not "in the same sign-in" — a sign-in challenge is single-use, so it cannot; matou-app#690 is written this way. The amendment's Owed line for AC-R1/the card is marked done.

Build (dashboard)

  • IdipMemberCredentials.vue reads whether the holder is a steward from the ledger row's standing (role: operator, the same source the roster's remove from stewards reads). For a steward: the Administrator card's revoke copy says the control panel stays open and names what is removed (admin in the services); the Membership card's panel note is corrected in its second half (revoking Administrator won't close it either).
  • IdipRosterPanel.vue takes the signed-in PanelViewer (GET /api/v1/panel/whoami, #1996), threaded through MembersSurface → DashboardComposition, and never renders AC-R1 for a steward viewer — belt-and-braces over the gateway's PanelEpochSparingStewards.

Acceptance criteria

  • ✅ Steward holder → Revoke confirm says the panel stays open + names what is removed (idipMemberCredentials.test.ts).
  • ✅ Non-steward holder → confirm unchanged (same test).
  • ✅ Steward signed in → their Administrator revoked → tab stays, AC-R1 never renders — asserted at the dashboard's seam (idipRosterPanel.test.ts: a steward viewer swallows a stray administrator_revoked 401, seat stays unlocked, no navigation).
  • ✅ Every data-field/data-action on the redrawn frames is present in the built surface (administrator-grants-held, suspend-keeps-panel-note, held-administrator, held-membership, suspend, revoke-administrator).

Proof: full dashboard suite 2135 green (2 skipped), vue-tsc clean; pre-push lint clean.

Still owed (ADR 0289 amendment, out of this ticket's scope): matou-app's fall-back on a revoked answer; #1956 re-sourcing the gate's steward read; a live drive leg (a steward whose Administrator is revoked signs in and opens the panel).

Ruled by agent under ADR 0174 — two-way (revertible copy + a defensive, presentational dashboard guard; no gate/forward_auth change — that half was already built and merged in #1997), proven by the offline seams — veto anytime.

**Close-report — landed on `main` at `75dc70df`.** Design-tier first, then the build, per the ticket's `ready-for-session` routing. The gateway already spared a steward on an Administrator revoke (#1997 on `main`). This ticket fixes the three surfaces that still told a steward the old rule. **Design-tier** - **Flow** `docs/ux/flows/administrator-credential.mermaid`: *revokes a **steward's** Administrator* now lands on the panel staying **open** (`S4 → A1`), not AC-R1; AC-R1 (`R2`) is re-labelled *a former administrator who is **not** a steward* — the edge the AC-R1 wireframe's ✎ note had described but the flow did not show. - **Wireframe** `docs/ux/wireframes/p6-members-idip/p6-s4i-member-detail.html`: a `steward-holder-variant` of the Administrator card + Membership note — same `administrator-grants-held` / `suspend-keeps-panel-note` data-fields, corrected copy. (AC-R1's own wireframe already carried the steward ✎ note.) - **ADR 0289** decision 5's first point corrected: the wallet falls back **on the next code**, not *"in the same sign-in"* — a sign-in challenge is single-use, so it cannot; matou-app#690 is written this way. The amendment's *Owed* line for AC-R1/the card is marked done. **Build (dashboard)** - `IdipMemberCredentials.vue` reads whether the **holder** is a steward from the ledger row's standing (`role: operator`, the same source the roster's *remove from stewards* reads). For a steward: the Administrator card's revoke copy says the control panel stays open and names what is removed (admin in the services); the Membership card's panel note is corrected in its second half (revoking Administrator won't close it either). - `IdipRosterPanel.vue` takes the signed-in `PanelViewer` (`GET /api/v1/panel/whoami`, #1996), threaded through `MembersSurface` → `DashboardComposition`, and never renders AC-R1 for a **steward viewer** — belt-and-braces over the gateway's `PanelEpochSparingStewards`. **Acceptance criteria** - ✅ Steward holder → Revoke confirm says the panel stays open + names what is removed (`idipMemberCredentials.test.ts`). - ✅ Non-steward holder → confirm unchanged (same test). - ✅ Steward signed in → their Administrator revoked → tab stays, AC-R1 never renders — asserted at the dashboard's seam (`idipRosterPanel.test.ts`: a steward viewer swallows a stray `administrator_revoked` 401, seat stays unlocked, no navigation). - ✅ Every `data-field`/`data-action` on the redrawn frames is present in the built surface (`administrator-grants-held`, `suspend-keeps-panel-note`, `held-administrator`, `held-membership`, `suspend`, `revoke-administrator`). **Proof:** full dashboard suite **2135 green** (2 skipped), `vue-tsc` clean; pre-push lint clean. **Still owed (ADR 0289 amendment, out of this ticket's scope):** matou-app's fall-back on a `revoked` answer; #1956 re-sourcing the gate's steward read; a live drive leg (a steward whose Administrator is revoked signs in and opens the panel). Ruled by agent under ADR 0174 — two-way (revertible copy + a defensive, presentational dashboard guard; no gate/forward_auth change — that half was already built and merged in #1997), proven by the offline seams — veto anytime.
matou-build-agent 2026-09-29 15:20:41 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 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
Matou/idss#1998
No description provided.