Overview
| Artifact ID: | f2a251cd082f51a2f26aa30ec2b93b290ddabb6cf739ca687f2eef6fb33163b6 |
|---|---|
| Ticket: | 8318bd2819ca319162680f4dcead261356e59e32
Teams: organisations that own repositories and carry grants |
| User & Date: | dmestas on 2026-08-18 19:21:51 |
Changes
- Untracked field cmimetype: "text/x-markdown"
- comment changed to:
0001 §8 puts org/ACLs in v2 and says it "adds tables, not architecture". This is that work. ## Shape Two tables in the forge OLTP beside `account` and `repo_role`: - `org (name, created)` — the team itself. - `org_member (org, account, role)` — who is in it and at what level. `repo` gains an owner (an account or an org), and `repo_role` resolution grows one step: a caller holds a grant if they hold it directly OR through an org that owns the repository. Everything downstream — `CanRead`, the gates, the account ops — asks the same question it asks today and needs no change. ## Surfaces - Ops: `org.list/add/delete`, `org.member.add/remove`, mirroring the account ops that already exist. - CLI: `quarry org ...`, following `quarry accounts`. - Web: an `organizations` tab beside `repositories` and `people` on the explore surface — deliberately NOT shipped as an empty tab today, because a tab onto a blank page reads as a broken forge rather than an unbuilt feature. ## Why it is not urgent Per-account grants already express everything a small forge needs; teams are about not re-granting the same set by hand. The cost of waiting is repetition, not capability.
- severity changed to: "Important"
- status changed to: "Open"
- title changed to:
Teams: organisations that own repositories and carry grants
- type changed to: "Feature_Request"