Control panel + founding: show the role as Administrator, not "operator" (two roles: Administrator and Member) #2082

Closed
opened 2026-10-29 05:15:17 +00:00 by ben · 2 comments
Owner

Ruling (Ben, 2026-10-28)

IDSS has two roles: Administrator and Member. There is no separate "operator" role. The control panel still shows the role as operator in several places, which contradicts the ruling and the user guide (#2075, idss-design PR #7).

Where "operator" shows as a role today (seen live, #2075 guide walk, run 20261028T232644Z)

  • Top bar — the signed-in seat label reads operator on every tab.
  • Members — the role column reads operator for the founder (19-panel-members); the Kanidm blurb says "The operator invites people in…" (dashboard/src/lib/identityProtocol.ts).
  • Manage groups — "The platform ships two roles, member and operator… Operator is granted on a member's page." and the role row operator — A member who also runs this control panel… (dashboard/src/lib/roles.ts).
  • Overview / Settings — the founder's card reads operator.
  • Backups — "recovery kit not exported · no share ceremony yet — the operator's kit is the plan" (dashboard/src/lib/recoveryReadiness.ts).
  • Members → pending rotation — "credential is re-issued as operator" (PendingRotationScreen.vue).
  • Founding (operator app) — Community info section header "You — the operator" (02-community-details).

Scope

  • Change every user-visible occurrence of the role "operator" to Administrator (capitalised, per CONTEXT.md: Administrator is the credential/role; Operator is a persona, not a role).
  • Keep "the operator app" — that is the product's name, and the guide uses it.
  • Do not change wire values (MemberRole = 'member' | 'operator', RescueRole, RecoveryKeyKind, OPERATOR_ROLE) in this ticket — display labels map from them. Renaming the wire enum is a separate decision.
  • Update the affected unit tests, and any wireframe/DDR text that prints the role label, in the same change.
  • Founding: "You — the operator" → "You — the first Administrator" (or equivalent short copy).

Acceptance

  • No user-visible "operator" as a role name in the panel or founding flow (grep the rendered copy; "operator app" excepted).
  • Unit tests updated/green.
  • Guide screenshots that show the label get recaptured by the next guide walk (#2075).
## Ruling (Ben, 2026-10-28) IDSS has **two roles: Administrator and Member**. There is no separate "operator" role. The control panel still shows the role as **operator** in several places, which contradicts the ruling and the user guide (#2075, idss-design PR #7). ## Where "operator" shows as a role today (seen live, #2075 guide walk, run `20261028T232644Z`) - **Top bar** — the signed-in seat label reads `operator` on every tab. - **Members** — the role column reads `operator` for the founder (`19-panel-members`); the Kanidm blurb says "The operator invites people in…" (`dashboard/src/lib/identityProtocol.ts`). - **Manage groups** — "The platform ships two roles, member and operator… Operator is granted on a member's page." and the role row `operator — A member who also runs this control panel…` (`dashboard/src/lib/roles.ts`). - **Overview / Settings** — the founder's card reads `operator`. - **Backups** — "recovery kit not exported · no share ceremony yet — the operator's kit is the plan" (`dashboard/src/lib/recoveryReadiness.ts`). - **Members → pending rotation** — "credential is re-issued as **operator**" (`PendingRotationScreen.vue`). - **Founding (operator app)** — Community info section header **"You — the operator"** (`02-community-details`). ## Scope - Change every **user-visible** occurrence of the *role* "operator" to **Administrator** (capitalised, per CONTEXT.md: Administrator is the credential/role; Operator is a persona, not a role). - **Keep "the operator app"** — that is the product's name, and the guide uses it. - **Do not change wire values** (`MemberRole = 'member' | 'operator'`, `RescueRole`, `RecoveryKeyKind`, `OPERATOR_ROLE`) in this ticket — display labels map from them. Renaming the wire enum is a separate decision. - Update the affected unit tests, and any wireframe/DDR text that prints the role label, in the same change. - Founding: "You — the operator" → "You — the first Administrator" (or equivalent short copy). ## Acceptance - [ ] No user-visible "operator" as a role name in the panel or founding flow (grep the rendered copy; "operator app" excepted). - [ ] Unit tests updated/green. - [ ] Guide screenshots that show the label get recaptured by the next guide walk (#2075).

swarm-claim host=bens-mac-04 run=56694
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=bens-mac-04 run=56694 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #2082 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

⚠️ mirror_waiver: changed_files touches dashboard/src/components/members/IdipRosterPanel.vue (mirrors.tsv trigger -> app/tests/e2e/fixtures/idip.test.ts). The change only added a roleLabel import and wrapped the ledger-member-role cell render; it renamed no data-field/data-action selector the app e2e source-probe binds to. That probe (app/tests/e2e/fixtures/idip.test.ts) still passes unchanged (71 tests), so its copy needs no update.

envelope
{
  "issue": 2082,
  "status": "success",
  "commits": [
    "8f9e61753b6b7a98f99269a1561b61aa18db669a"
  ],
  "changed_files": [
    "STATUS.md",
    "app/src/i18n/en.ts",
    "app/src/i18n/es.ts",
    "app/src/i18n/fr.ts",
    "app/src/i18n/nl.ts",
    "app/src/lib/identityLegs.ts",
    "app/tests/e2e/founding-es.live.spec.ts",
    "app/tests/unit/foundingCommunityDetailsI18n.test.ts",
    "app/tests/unit/foundingFleetSummary.test.ts",
    "dashboard/src/components/members/IdipRosterPanel.vue",
    "dashboard/src/components/members/KomitiDetailScreen.vue",
    "dashboard/src/components/members/ManageGroupsDialog.vue",
    "dashboard/src/components/members/MemberDetailScreen.vue",
    "dashboard/src/components/members/MembersScreen.vue",
    "dashboard/src/components/members/PendingRotationScreen.vue",
    "dashboard/src/components/rescue/RecoveryReadinessScreen.vue",
    "dashboard/src/components/rescue/ShareCeremony.vue",
    "dashboard/src/components/shell/MembersColumn.vue",
    "dashboard/src/entry/served.ts",
    "dashboard/src/lib/identityProtocol.ts",
    "dashboard/src/lib/members.ts",
    "dashboard/src/lib/recoveryReadiness.ts",
    "dashboard/src/lib/roles.ts",
    "dashboard/tests/fakes/komiti.ts",
    "dashboard/tests/fakes/memberDetail.ts",
    "dashboard/tests/unit/komitiDetail.test.ts",
    "dashboard/tests/unit/memberDetail.test.ts",
    "dashboard/tests/unit/membersList.test.ts",
    "dashboard/tests/unit/overviewCards.test.ts",
    "dashboard/tests/unit/recoveryReadiness.test.ts",
    "docs/ux/wireframes/administrator-credential/ac-am1-members-as-an-administrator.html",
    "docs/ux/wireframes/dashboard-auth/da-s2-refused-operators-only.html",
    "docs/ux/wireframes/p1-founding/p1-s2-community-details.html",
    "docs/ux/wireframes/p4-provisioning/p4-s5-active.html",
    "docs/ux/wireframes/p6-members-idip/p6-s10i-edit-email.html",
    "docs/ux/wireframes/p6-members-idip/p6-s10xi-email-not-applied.html",
    "docs/ux/wireframes/p6-members-idip/p6-s1i-members.html",
    "docs/ux/wireframes/p6-members-idip/p6-s4i-member-detail.html",
    "docs/ux/wireframes/p6-members-idip/p6-s9i-pending-rotation.html",
    "docs/ux/wireframes/p6-members/p6-s1-members.html",
    "docs/ux/wireframes/p6-members/p6-s10-edit-email.html",
    "docs/ux/wireframes/p6-members/p6-s10x-email-not-applied.html",
    "docs/ux/wireframes/p6-members/p6-s4-member-detail.html",
    "docs/ux/wireframes/p8-rescue/p8-s6-remote-support.html",
    "docs/ux/wireframes/p8-rescue/p8-s7-recovery-readiness.html",
    "docs/ux/wireframes/p8-rescue/p8-s8-tier3-recovery-ceremony.html",
    "docs/ux/wireframes/panel-unlock/pu-m0-members-locked.html",
    "docs/ux/wireframes/panel-unlock/pu-m1-members-unlocked.html",
    "docs/ux/wireframes/panel-unlock/pu-m1e-members-only-you-so-far.html",
    "docs/ux/wireframes/shell/shell-dn-nav-chrome.html",
    "docs/ux/wireframes/shell/shell-dn2-nav-chrome-tab-badges.html",
    "docs/ux/wireframes/wallet-founding/wf-s0-founding-ceremony.html",
    "internal/controlapi/authgate_test.go",
    "internal/controlapi/refusal.go",
    "internal/controlapi/refusal_test.go",
    "internal/member/detail.go",
    "internal/member/komiti.go"
  ],
  "tests": [
    {
      "command": "cd dashboard && npx vitest run",
      "exit_code": 0
    },
    {
      "command": "cd dashboard && npx vue-tsc -p tsconfig.json --noEmit",
      "exit_code": 0
    },
    {
      "command": "go test -count=1 ./internal/member/ ./internal/controlapi/",
      "exit_code": 0
    },
    {
      "command": "cd app && npx vitest run tests/unit/foundingCommunityDetailsI18n.test.ts tests/unit/foundingCommunityDetailsEmail.test.ts tests/unit/foundingFleetSummary.test.ts tests/e2e/fixtures/idip.test.ts",
      "exit_code": 0
    },
    {
      "command": "node_modules/.bin/eslint .",
      "exit_code": 0
    },
    {
      "command": "pre-push gate (nix develop #go-ci + #default): gofmt/go build/vet/test ./... + golangci-lint + broker + eslint",
      "exit_code": 0
    }
  ],
  "criteria": {
    "No user-visible \"operator\" as a role name in the panel or founding flow (grep the rendered copy; \"operator app\" excepted)": "Every rendered role label now maps through roleLabel() (dashboard/src/lib/members.ts) or rescueRoleLabel() (recoveryReadiness.ts): the brand-bar seat fallback (served.ts), Members/Overview/IDIP-roster ROLE cells (MembersScreen.vue, MembersColumn.vue, IdipRosterPanel.vue), the Manage-groups table+prose (roles.ts + ManageGroupsDialog.vue), Member detail label/buttons/meta + its seam note (MemberDetailScreen.vue + internal/member/detail.go), pending rotation (PendingRotationScreen.vue), the Kanidm blurb (identityProtocol.ts), recovery readiness + ceremony (RecoveryReadinessScreen.vue, ShareCeremony.vue), the komiti restrict label (internal/member/komiti.go), the DA-S2 refusal page (internal/controlapi/refusal.go), and founding (app/src/i18n/{en,es,fr,nl}.ts + identityLegs.ts). A grep of these rendered surfaces finds no role-name 'operator'; 'the operator app', the 'operator key' kind, and persona 'operator' (e.g. 'Ask your operator') are deliberately kept per CONTEXT.md.",
    "Unit tests updated/green": "Updated membersList/overviewCards/memberDetail/recoveryReadiness/komitiDetail dashboard tests, the komiti+memberDetail fakes, foundingCommunityDetailsI18n/foundingFleetSummary + founding-es.live app tests, and refusal_test.go/authgate_test.go. Evidence: dashboard vitest 2243 pass + vue-tsc 0; go test ./internal/member/ ./internal/controlapi/ ok; app founding unit + idip source-probe (71) pass; repo eslint 0; the pre-push gate re-ran go test ./... + golangci-lint + broker + eslint clean.",
    "Guide screenshots that show the label get recaptured by the next guide walk (#2075)": "Deferred to #2075 by the ticket's own wording ('recaptured by the NEXT guide walk'); not this ticket's deliverable. The labels are now Administrator in the shipped components for that walk to capture."
  },
  "mirror_waiver": "changed_files touches dashboard/src/components/members/IdipRosterPanel.vue (mirrors.tsv trigger -> app/tests/e2e/fixtures/idip.test.ts). The change only added a roleLabel import and wrapped the ledger-member-role cell render; it renamed no data-field/data-action selector the app e2e source-probe binds to. That probe (app/tests/e2e/fixtures/idip.test.ts) still passes unchanged (71 tests), so its copy needs no update.",
  "summary": "The control panel and founding flow now show the access role as Administrator (and Member), never 'operator', via a display-only label map that leaves the wire role: operator value untouched.",
  "no_code_change": "",
  "blockers": []
}
**close-report** for #2082 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. > :warning: **mirror_waiver:** changed_files touches dashboard/src/components/members/IdipRosterPanel.vue (mirrors.tsv trigger -> app/tests/e2e/fixtures/idip.test.ts). The change only added a roleLabel import and wrapped the ledger-member-role cell render; it renamed no data-field/data-action selector the app e2e source-probe binds to. That probe (app/tests/e2e/fixtures/idip.test.ts) still passes unchanged (71 tests), so its copy needs no update. <details><summary>envelope</summary> ```json { "issue": 2082, "status": "success", "commits": [ "8f9e61753b6b7a98f99269a1561b61aa18db669a" ], "changed_files": [ "STATUS.md", "app/src/i18n/en.ts", "app/src/i18n/es.ts", "app/src/i18n/fr.ts", "app/src/i18n/nl.ts", "app/src/lib/identityLegs.ts", "app/tests/e2e/founding-es.live.spec.ts", "app/tests/unit/foundingCommunityDetailsI18n.test.ts", "app/tests/unit/foundingFleetSummary.test.ts", "dashboard/src/components/members/IdipRosterPanel.vue", "dashboard/src/components/members/KomitiDetailScreen.vue", "dashboard/src/components/members/ManageGroupsDialog.vue", "dashboard/src/components/members/MemberDetailScreen.vue", "dashboard/src/components/members/MembersScreen.vue", "dashboard/src/components/members/PendingRotationScreen.vue", "dashboard/src/components/rescue/RecoveryReadinessScreen.vue", "dashboard/src/components/rescue/ShareCeremony.vue", "dashboard/src/components/shell/MembersColumn.vue", "dashboard/src/entry/served.ts", "dashboard/src/lib/identityProtocol.ts", "dashboard/src/lib/members.ts", "dashboard/src/lib/recoveryReadiness.ts", "dashboard/src/lib/roles.ts", "dashboard/tests/fakes/komiti.ts", "dashboard/tests/fakes/memberDetail.ts", "dashboard/tests/unit/komitiDetail.test.ts", "dashboard/tests/unit/memberDetail.test.ts", "dashboard/tests/unit/membersList.test.ts", "dashboard/tests/unit/overviewCards.test.ts", "dashboard/tests/unit/recoveryReadiness.test.ts", "docs/ux/wireframes/administrator-credential/ac-am1-members-as-an-administrator.html", "docs/ux/wireframes/dashboard-auth/da-s2-refused-operators-only.html", "docs/ux/wireframes/p1-founding/p1-s2-community-details.html", "docs/ux/wireframes/p4-provisioning/p4-s5-active.html", "docs/ux/wireframes/p6-members-idip/p6-s10i-edit-email.html", "docs/ux/wireframes/p6-members-idip/p6-s10xi-email-not-applied.html", "docs/ux/wireframes/p6-members-idip/p6-s1i-members.html", "docs/ux/wireframes/p6-members-idip/p6-s4i-member-detail.html", "docs/ux/wireframes/p6-members-idip/p6-s9i-pending-rotation.html", "docs/ux/wireframes/p6-members/p6-s1-members.html", "docs/ux/wireframes/p6-members/p6-s10-edit-email.html", "docs/ux/wireframes/p6-members/p6-s10x-email-not-applied.html", "docs/ux/wireframes/p6-members/p6-s4-member-detail.html", "docs/ux/wireframes/p8-rescue/p8-s6-remote-support.html", "docs/ux/wireframes/p8-rescue/p8-s7-recovery-readiness.html", "docs/ux/wireframes/p8-rescue/p8-s8-tier3-recovery-ceremony.html", "docs/ux/wireframes/panel-unlock/pu-m0-members-locked.html", "docs/ux/wireframes/panel-unlock/pu-m1-members-unlocked.html", "docs/ux/wireframes/panel-unlock/pu-m1e-members-only-you-so-far.html", "docs/ux/wireframes/shell/shell-dn-nav-chrome.html", "docs/ux/wireframes/shell/shell-dn2-nav-chrome-tab-badges.html", "docs/ux/wireframes/wallet-founding/wf-s0-founding-ceremony.html", "internal/controlapi/authgate_test.go", "internal/controlapi/refusal.go", "internal/controlapi/refusal_test.go", "internal/member/detail.go", "internal/member/komiti.go" ], "tests": [ { "command": "cd dashboard && npx vitest run", "exit_code": 0 }, { "command": "cd dashboard && npx vue-tsc -p tsconfig.json --noEmit", "exit_code": 0 }, { "command": "go test -count=1 ./internal/member/ ./internal/controlapi/", "exit_code": 0 }, { "command": "cd app && npx vitest run tests/unit/foundingCommunityDetailsI18n.test.ts tests/unit/foundingCommunityDetailsEmail.test.ts tests/unit/foundingFleetSummary.test.ts tests/e2e/fixtures/idip.test.ts", "exit_code": 0 }, { "command": "node_modules/.bin/eslint .", "exit_code": 0 }, { "command": "pre-push gate (nix develop #go-ci + #default): gofmt/go build/vet/test ./... + golangci-lint + broker + eslint", "exit_code": 0 } ], "criteria": { "No user-visible \"operator\" as a role name in the panel or founding flow (grep the rendered copy; \"operator app\" excepted)": "Every rendered role label now maps through roleLabel() (dashboard/src/lib/members.ts) or rescueRoleLabel() (recoveryReadiness.ts): the brand-bar seat fallback (served.ts), Members/Overview/IDIP-roster ROLE cells (MembersScreen.vue, MembersColumn.vue, IdipRosterPanel.vue), the Manage-groups table+prose (roles.ts + ManageGroupsDialog.vue), Member detail label/buttons/meta + its seam note (MemberDetailScreen.vue + internal/member/detail.go), pending rotation (PendingRotationScreen.vue), the Kanidm blurb (identityProtocol.ts), recovery readiness + ceremony (RecoveryReadinessScreen.vue, ShareCeremony.vue), the komiti restrict label (internal/member/komiti.go), the DA-S2 refusal page (internal/controlapi/refusal.go), and founding (app/src/i18n/{en,es,fr,nl}.ts + identityLegs.ts). A grep of these rendered surfaces finds no role-name 'operator'; 'the operator app', the 'operator key' kind, and persona 'operator' (e.g. 'Ask your operator') are deliberately kept per CONTEXT.md.", "Unit tests updated/green": "Updated membersList/overviewCards/memberDetail/recoveryReadiness/komitiDetail dashboard tests, the komiti+memberDetail fakes, foundingCommunityDetailsI18n/foundingFleetSummary + founding-es.live app tests, and refusal_test.go/authgate_test.go. Evidence: dashboard vitest 2243 pass + vue-tsc 0; go test ./internal/member/ ./internal/controlapi/ ok; app founding unit + idip source-probe (71) pass; repo eslint 0; the pre-push gate re-ran go test ./... + golangci-lint + broker + eslint clean.", "Guide screenshots that show the label get recaptured by the next guide walk (#2075)": "Deferred to #2075 by the ticket's own wording ('recaptured by the NEXT guide walk'); not this ticket's deliverable. The labels are now Administrator in the shipped components for that walk to capture." }, "mirror_waiver": "changed_files touches dashboard/src/components/members/IdipRosterPanel.vue (mirrors.tsv trigger -> app/tests/e2e/fixtures/idip.test.ts). The change only added a roleLabel import and wrapped the ledger-member-role cell render; it renamed no data-field/data-action selector the app e2e source-probe binds to. That probe (app/tests/e2e/fixtures/idip.test.ts) still passes unchanged (71 tests), so its copy needs no update.", "summary": "The control panel and founding flow now show the access role as Administrator (and Member), never 'operator', via a display-only label map that leaves the wire role: operator value untouched.", "no_code_change": "", "blockers": [] } ``` </details>
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#2082
No description provided.