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
2 participants
Notifications
Due date
No due date set.
Reference
Matou/idss#1551
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?
Why (found by the session babysitting #1547, 2026-09-16, reading the landed tickets against the code)
Spec #1535 — Ben's ruling: adding an operator gives admin on ALL services. #1537's
ReconcileRoles(internal/member/roles.go:177) fans a grant out over every DEPLOYED port whose mapping isreconciler-mapped. The proof drive #1547 grants a SECOND person operator through the panel AFTER founding and then signs them into every door expecting the admin surface. Read againstmaintoday that leg is red by construction on the doors below, so the gap is filed now rather than burned on a droplet.The gap — data-collections (Grist)
There is NO member-orbit port for Grist (
productionServicePorts,control-plane/cmd/control-plane/main.go— mail, files, static-sites, meetings, docs-editing, code, chat, newsletters, video, surveys;grep -rn ReconcileRole internal/finds no data-collections implementation). #1536 (1f24e88c) seeds the org's access ONLY in the deploy-time health check (dataCollectionsEnsureOrgAccess: the FOUNDING operator →owners,everyone@getgrist.com→editors). So a person granted operator later is an editor in Grist, exactly like a member — the operator = admin promise is broken on this door.Build
internal/datacollectionssvc(theinternal/newslettersvcshape, #1541):Port.RoleMapping()=reconciler-mapped · header · operator → org owner · member → editor(SignIn staysheader, #1536);Port.ReconcileRole(personID, operator)=GET /api/orgs/{org}/access, compare, thenPATCH /api/orgs/{org}/access {"delta":{"users":{"<personID>":"owners"|"editors"}}}over the owner's minted admin key the health check already holds (productionDataCollectionsAdmin, the same session) — idempotent, and it works BEFORE the person's first sign-in (Grist creates the user record on the grant, the login is the header's bare id, #1536's convention). Revoke →editors(the everyone default), never removal. Wire it intoproductionServicePortsso #1537's fan-out (grant/revoke, member add, the P4 deploy hook) reaches it; the health check's founding seed stays as the belt.Acceptance
datacollectionssvc_test.go: grant → owners, revoke → editors, idempotent (no PATCH when at truth), never-deployed → truthful no-op;TestProductionServicePorts_FromDerivedURLscounts the new port.role_in_app: org owneron data-collections,not_appliedclear.operator-data-collections:GET /api/orgs/currentanswersaccess: ownersfor the granted operator;member-data-collections:editors).swarm-claim host=bens-mac-04 run=25431
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1551 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope