invites: the ROLE field on the invite form is not read by the seam — every invite admits as member, whatever the operator picked #1438
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1438
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Control-panel UI pass (Ben, 2026-09-10 → 09-12, commit
078cd5b3onfounding-ui-two-colour-rail-ceremony, merged to main 2026-09-12). Filed from the end-of-pass review (#1399 sweep): every place the shipped UI shows or implies something the product does not do yet. Browser harness:cd dashboard && pnpm harness→http://localhost:5198/panel.html?scenario=steady&tab=<tab>.Symptom
Ben's 2026-09-12 relayout put a ROLE select (member / operator / + Add role) on the invite form (
dashboard/src/components/members/InviteScreen.vue:53-59), amending DDR 0073's "the role is never a field".InviteSpec.rolerides the request (invites.ts:64-77) but openapiInviteSpecislabel / komiti / multi_useonly (~:5180-5189) andinternal/member/invite.go:391hardcodesRole: RoleMember. An operator picking operator gets a plain member with no error. The 2026-09-12 review fix put an honest line under the select ("Not applied yet — everyone this invite admits joins as a member for now",data-field="role-not-honoured") so the control no longer lies, but the design question stands.Governing: ADR 0076 (two access roles, closed set; operator is granted, kaitiaki is a designation), DDR 0073 (approval gate), DDR 0230 (registration open on IDSS).
Why human — one-way door
Admitting someone as operator by invite widens the security posture: an invite link is a bearer token, and today the only way to become operator is a grant by an existing operator on the member (
internal/member/roles.gogrant/revoke). Whether an invite may pre-carry operator is a trust decision.Proposed default ruling: invites stay member-only. The ROLE select comes off the invite form (with its "+ Add role"); operator is granted on the member's page after they join (the grant/revoke verb exists — surface it on P6-S3 member detail if it is not). The "+ Add role" idea lives in the Manage groups dialog's ruling (its own ticket).
Alternative if Ben wants it: honour
roleon the wire formember | operator, require the minting operator to be an operator (already true), stamp the invite ledger with who minted and which role, and show the role on the open-invites ledger and on approval so the hui sees what it is admitting.Acceptance criteria (default ruling)
InviteSpec.roleis removed frominvites.tsand the fakes;inviteScreen.test.tsasserts the mint payload has no role.dialogstate, the Overview's device/System/service/members rows, the sidebar chrome — unit debt from Ben's 2026-09-10/11 UI pass #1399Ruled by Ben, 2026-09-12: invites stay member-only — the ROLE select comes off the invite form. Operator is granted on the member's page after they join (
grant-operator/revoke-operatoralready live on P6-S3 member detail, ADR 0076/0089). No bearer-token path to operator. Landing now in this session: the select and "+ Add role" removed fromInviteScreen.vue,InviteSpec.roleremoved frominvites.tsand the fakes,inviteScreen.test.tsasserts the mint payload carries no role. DDR 0073's "the role is never a field" stands un-amended.Landed on main
6c774b8b(2026-09-12): the ruling above is in the control panel —InviteScreen.vuehas no role field,InviteSpec.roleis gone,RoleAdminClient+ its fake are deleted, the Manage groups dialog paints the two platform roles read-only with the ruled meaning and points at each group's S7 access matrix;inviteScreen13/13,komitiDetail26/26, vue-tsc + eslint clean, dashboard suite 1611 passing. Closing.