diff --git a/README.md b/README.md index 7712ced..761a598 100644 --- a/README.md +++ b/README.md @@ -78,8 +78,8 @@ The [contributor ladder](https://modelcontextprotocol.io/community/contributor-l Things to know when reading the config against the ladder: -- **GitHub child teams inherit their parent's repository access.** WG, IG, and SDK teams nest under `steering-committee` (via `working-groups`, `interest-groups`, and `sdk-maintainers`). Their members therefore get `steering-committee`'s grants, which include `triage` on `modelcontextprotocol`, `.github`, `inspector`, and `quickstart-resources`, and `push` on the archived `docs` repository. `steering-committee` deliberately has no grant on `servers`, so the teams listed there each have their own `triage` grant. Write access on `inspector`, `servers`, and `quickstart-resources` comes from the team that owns each one: `inspector-maintainers` on `inspector`, `reference-servers-maintainers` on `servers`, and `docs-maintainers` on `quickstart-resources`. This is independent of ladder rank. Roles that must not inherit these grants (`members`, `maintainers`, `security-team`) have no parent. -- **Some roles have no ladder counterpart.** These are functional or operational roles: `security-managers`, `security-team`, CODEOWNERS teams (`*-auth`, `conformance-auth`), collaborator teams (`registry-collaborators`, `typescript-sdk-collaborators`), `auth-contributors` (`push` on `ext-auth` only, no parent team), `csharp-sdk-admin`, Discord-only `administrators` and `community-managers`, and Google email groups. +- **GitHub child teams inherit their parent's repository access.** WG, IG, and SDK teams nest under `steering-committee` (via `working-groups`, `interest-groups`, and `sdk-maintainers`). Their members therefore get `steering-committee`'s grants, which include `triage` on `modelcontextprotocol`, `.github`, `inspector`, and `quickstart-resources`, and `push` on the archived `docs` repository. `steering-committee` deliberately has no grant on `servers`, so the teams listed there each have their own `triage` grant. Write access on `inspector`, `servers`, and `quickstart-resources` comes from the team that owns each one: `inspector-maintainers` on `inspector`, `reference-servers-maintainers` on `servers`, and `docs-maintainers` on `quickstart-resources`. This is independent of ladder rank. Roles that must not inherit these grants (`members`, `maintainers`, `access-maintainers`, `security-team`) have no parent. +- **Some roles have no ladder counterpart.** These are functional or operational roles: `security-managers`, `security-team`, CODEOWNERS teams (`*-auth`, `conformance-auth`), collaborator teams (`registry-collaborators`, `typescript-sdk-collaborators`), `auth-contributors` (`push` on `ext-auth` only, no parent team), `access-maintainers` (`push` on `access` only, no parent team), `csharp-sdk-admin`, Discord-only `administrators` and `community-managers`, and Google email groups. - **Per-user grants** in `repoAccess.ts` (the `users` lists) are not tied to any ladder role. - **`security-ig` has `admin` on six repositories** (`docs`, `.github`, `inspector`, `modelcontextprotocol`, `quickstart-resources`, `servers`). This was carried over unchanged from `security-wg` in #170, and reviewing it is tracked as a separate workstream. diff --git a/src/config/repoAccess.ts b/src/config/repoAccess.ts index 064d83f..41bd052 100644 --- a/src/config/repoAccess.ts +++ b/src/config/repoAccess.ts @@ -553,14 +553,11 @@ export const REPOSITORY_ACCESS: RepositoryAccess[] = [ { repository: 'access', teams: [ - { team: 'infrastructure-wg', permission: 'admin' }, + { team: 'access-maintainers', permission: 'push' }, + { team: 'infrastructure-wg', permission: 'push' }, { team: 'maintainers', permission: 'triage' }, { team: 'sdk-maintainers', permission: 'triage' }, ], - users: [ - { username: 'felixweinberger', permission: 'admin' }, - { username: 'maxisbey', permission: 'admin' }, - ], }, { repository: 'security-room', diff --git a/src/config/roleIds.ts b/src/config/roleIds.ts index 0be8ace..51ef761 100644 --- a/src/config/roleIds.ts +++ b/src/config/roleIds.ts @@ -22,6 +22,7 @@ export const ROLE_IDS = { // Maintainer Groups // =================== MAINTAINERS: 'maintainers', + ACCESS_MAINTAINERS: 'access-maintainers', // GitHub only (push on access) CONFORMANCE_AUTH: 'conformance-auth', // GitHub only (CODEOWNERS) DOCS_MAINTAINERS: 'docs-maintainers', INSPECTOR_MAINTAINERS: 'inspector-maintainers', diff --git a/src/config/roles.ts b/src/config/roles.ts index ecf7f3c..b5567da 100644 --- a/src/config/roles.ts +++ b/src/config/roles.ts @@ -175,6 +175,13 @@ export const ROLES: readonly Role[] = [ google: { group: 'maintainers', allowExternalMembers: true }, provisionUser: true, }, + { + id: ROLE_IDS.ACCESS_MAINTAINERS, + description: 'Write access to the access repository', + // No parent team: must not inherit steering-committee repo permissions + github: { team: 'access-maintainers' }, + // GitHub only + }, { id: ROLE_IDS.CONFORMANCE_AUTH, description: 'Conformance authorization-server code owners', diff --git a/src/config/users.ts b/src/config/users.ts index d9f7238..6272077 100644 --- a/src/config/users.ts +++ b/src/config/users.ts @@ -385,6 +385,7 @@ export const MEMBERS: readonly Member[] = [ lastName: 'Weinberger', googleEmailPrefix: 'felix', memberOf: [ + ROLE_IDS.ACCESS_MAINTAINERS, ROLE_IDS.MAINTAINERS, ROLE_IDS.PYTHON_SDK, ROLE_IDS.SECURITY_IG, @@ -722,6 +723,7 @@ export const MEMBERS: readonly Member[] = [ lastName: 'Isbey', googleEmailPrefix: 'max', memberOf: [ + ROLE_IDS.ACCESS_MAINTAINERS, ROLE_IDS.MAINTAINERS, ROLE_IDS.PYTHON_SDK, ROLE_IDS.SECURITY_MANAGERS,