members (kanidm path): roles vs groups is not clear — three things wear "role" and the one the Manage groups dialog defines is never shown (copy + wireframe contract; sits beside #1442) #1499

Open
opened 2026-09-15 18:04:50 +00:00 by ben · 0 comments
Owner

What

On the kanidm path the Members surfaces use the word role for three different things, and the one the UI defines is not the one it shows. Ben, 2026-09-15: "on kanidm I don't think it's clear the difference between roles and groups."

The three:

  1. Platform role — member / operator (the P6-S1 ROLE column, P6-S4 grant-operator). Operator means "runs this control panel". It says nothing about what a person can do inside Chat or Files.
  2. The role the dialog defines — the Manage groups lede says "a role decides what they can do inside those services" (Ben's definition, #1439). That is a service's OWN roles (a Nextcloud admin, a Mattermost team admin). No screen shows those anywhere.
  3. "Role mapping" — the P6-S7 INSIDE THE APP column and RoleMapping in dashboard/src/lib/komiti.ts. Really a construct kind ("kaimahi is a team in Chat", "a group + shared folder in Files", "front door only"). It says what a group becomes, not what its members can do. The chips claim-native / reconciler-mapped are ADR 0076 engineering tiers leaking onto an operator screen.

So the Manage groups dialog promises a meaning of role that the read-only roles table beneath it (member / operator, counted off the ledger) does not deliver; its roles-closed note then points at the group's access matrix, whose mapping column shows constructs, not power.

Two more things hide the picture:

  • Operator is itself a kanidm group underneath, exactly like a komiti, but ADR 0076 rules it is never shown among groups. Fine for users, but "group" and "role" are the same kanidm object wearing different words.
  • Operator DOES carry in-app power in one service: ADR 0150 makes every operator a Files admin. That is the one true "role decides what you can do inside" case on the platform, and nothing on the members surfaces states it.

Where this was left

  • #1439 (Ben, 2026-09-12) closed the platform role set at member / operator and parked "open the set". The ruling accepted that ADR 0076's port-declared mapping satisfies the definition — it does structurally, not in the words on screen. This ticket does not reopen #1439.
  • #1442 (needs-design) is the open pass bringing the p6 wireframes up to the shipped UI. The Manage groups dialog has no wireframe home yet. This ticket may be folded into #1442 or worked beside it.

Proposed direction (for the grill — not a ruling)

Stop calling things 2 and 3 "roles":

  • Keep ROLE for member / operator only, one line of meaning each (BUILT_IN_ROLE_WORDS in dashboard/src/lib/roles.ts is the current copy).
  • On P6-S7, rename INSIDE THE APP to what members of this group can do there, written in each service's own words; drop the claim-native / reconciler-mapped chips (keep the honest "front door only" case).
  • State the operator's Files-admin power on P6-S4 where operator is granted (ADR 0150).
  • Reword the Manage groups lede and roles-closed note to match.

ADR 0076 and #1439 stay intact — this is copy + wireframe contract only.

Surfaces touched

  • docs/ux/wireframes/p6-members/p6-s7-komiti-detail.html (column heading, chips, caption)
  • docs/ux/wireframes/p6-members/p6-s1-members.html (ROLE / GROUPS caption)
  • docs/ux/wireframes/p6-members/p6-s4-member-detail.html (operator → Files admin line)
  • a wireframe home for the Manage groups dialog (ManageGroupsDialog.vue, currently unwireframed — #1442)
  • dashboard/src/components/members/KomitiDetailScreen.vue, ManageGroupsDialog.vue, dashboard/src/lib/roles.ts, komiti.ts (RoleMapping naming, matrixNote copy)
  • CONTEXT.md — a Role entry beside Komiti / Kaitiaki, if the grill lands one

IDIP path is out of scope: it speaks credentials (DDR 0217) and has no roles table.

Acceptance

  • A grill over the vocabulary (roles vs groups vs in-app power) recorded as a DDR, then a /wireframe amendment to P6-S1 / P6-S4 / P6-S7 and a first wireframe for the Manage groups dialog.
  • After the amendment, no members-tab surface uses "role" for anything but member / operator, and the one place operator carries in-app power (Files admin) is stated where operator is granted.
  • The element-ID contract (access-matrix, access-*, change-access-*, set-open-* / set-restricted-*, matrix-note) is unchanged — the IDIP S7i shares it.
## What On the kanidm path the Members surfaces use the word **role** for three different things, and the one the UI *defines* is not the one it *shows*. Ben, 2026-09-15: "on kanidm I don't think it's clear the difference between roles and groups." The three: 1. **Platform role** — `member` / `operator` (the P6-S1 ROLE column, P6-S4 `grant-operator`). Operator means "runs this control panel". It says nothing about what a person can do inside Chat or Files. 2. **The role the dialog defines** — the Manage groups lede says *"a role decides what they can do inside those services"* (Ben's definition, #1439). That is a service's OWN roles (a Nextcloud admin, a Mattermost team admin). No screen shows those anywhere. 3. **"Role mapping"** — the P6-S7 INSIDE THE APP column and `RoleMapping` in `dashboard/src/lib/komiti.ts`. Really a *construct kind* ("kaimahi is a **team** in Chat", "a **group + shared folder** in Files", "front door only"). It says what a group *becomes*, not what its members *can do*. The chips `claim-native` / `reconciler-mapped` are ADR 0076 engineering tiers leaking onto an operator screen. So the Manage groups dialog promises a meaning of role that the read-only roles table beneath it (member / operator, counted off the ledger) does not deliver; its `roles-closed` note then points at the group's access matrix, whose mapping column shows constructs, not power. Two more things hide the picture: - Operator is itself a kanidm group underneath, exactly like a komiti, but ADR 0076 rules it is never shown among groups. Fine for users, but "group" and "role" are the same kanidm object wearing different words. - Operator DOES carry in-app power in one service: ADR 0150 makes every operator a Files admin. That is the one true "role decides what you can do inside" case on the platform, and nothing on the members surfaces states it. ## Where this was left - #1439 (Ben, 2026-09-12) closed the platform role set at member / operator and parked "open the set". The ruling accepted that ADR 0076's port-declared mapping satisfies the definition — it does structurally, not in the words on screen. This ticket does not reopen #1439. - #1442 (needs-design) is the open pass bringing the p6 wireframes up to the shipped UI. The Manage groups dialog has no wireframe home yet. This ticket may be folded into #1442 or worked beside it. ## Proposed direction (for the grill — not a ruling) Stop calling things 2 and 3 "roles": - Keep **ROLE** for `member` / `operator` only, one line of meaning each (`BUILT_IN_ROLE_WORDS` in `dashboard/src/lib/roles.ts` is the current copy). - On P6-S7, rename INSIDE THE APP to *what members of this group can do there*, written in each service's own words; drop the `claim-native` / `reconciler-mapped` chips (keep the honest "front door only" case). - State the operator's Files-admin power on P6-S4 where operator is granted (ADR 0150). - Reword the Manage groups lede and `roles-closed` note to match. ADR 0076 and #1439 stay intact — this is copy + wireframe contract only. ## Surfaces touched - `docs/ux/wireframes/p6-members/p6-s7-komiti-detail.html` (column heading, chips, caption) - `docs/ux/wireframes/p6-members/p6-s1-members.html` (ROLE / GROUPS caption) - `docs/ux/wireframes/p6-members/p6-s4-member-detail.html` (operator → Files admin line) - a wireframe home for the Manage groups dialog (`ManageGroupsDialog.vue`, currently unwireframed — #1442) - `dashboard/src/components/members/KomitiDetailScreen.vue`, `ManageGroupsDialog.vue`, `dashboard/src/lib/roles.ts`, `komiti.ts` (`RoleMapping` naming, `matrixNote` copy) - `CONTEXT.md` — a **Role** entry beside **Komiti** / **Kaitiaki**, if the grill lands one IDIP path is out of scope: it speaks credentials (DDR 0217) and has no roles table. ## Acceptance - A grill over the vocabulary (roles vs groups vs in-app power) recorded as a DDR, then a `/wireframe` amendment to P6-S1 / P6-S4 / P6-S7 and a first wireframe for the Manage groups dialog. - After the amendment, no members-tab surface uses "role" for anything but `member` / `operator`, and the one place operator carries in-app power (Files admin) is stated where operator is granted. - The element-ID contract (`access-matrix`, `access-*`, `change-access-*`, `set-open-*` / `set-restricted-*`, `matrix-note`) is unchanged — the IDIP S7i shares it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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#1499
No description provided.