Repository navigation
Add auth-contributors role with write on ext-auth; make PieterKas and max-stytch Members - #254
Conversation
Add an auth-contributors GitHub team that grants push on ext-auth and put PieterKas in it. ext-auth collaborators are managed here, so a write grant added by hand in GitHub is removed on the next deploy; this makes the grant durable. The team has no parent: a child team inherits its parent's repository access, so nesting under auth-maintainers would grant admin on ext-auth and nesting under members would grant push on modelcontextprotocol. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016HDqNdz6KVjegQzqngoZKa
|
The "Preview Changes" check is failing with Generated by Claude Code |
Give Nate Barbettini and Max Gerber write on ext-auth through the auth-contributors team; nbarbettini's existing roles are unchanged. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016HDqNdz6KVjegQzqngoZKa
Add ROLE_IDS.MEMBERS to both entries, as requested by Paul Carleton; nbarbettini already holds MAINTAINERS and the auth-contributors team stays parentless. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016HDqNdz6KVjegQzqngoZKa
Record the Discord id Paul Carleton supplied for Max Gerber so he is synced into the members (synced) Discord role. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016HDqNdz6KVjegQzqngoZKa
Record the Discord id Paul Carleton supplied for Pieter Kasselman so he is synced into the members (synced) Discord role. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016HDqNdz6KVjegQzqngoZKa
Requested by Paul Carleton · Slack thread
Before:
ext-authgrants access to one team,auth-maintainers(admin). Its collaborators are managed from this repo, so a write grant added by hand in GitHub is removed on the next deploy. That is why the "Writer" access given to PieterKas by hand kept lapsing. PieterKas and max-stytch (Max Gerber) have no entry inusers.ts, so they hold no role here.After:
auth-contributorsteam haspush(write) onext-authand nothing else. Its members are PieterKas, nbarbettini (Nate Barbettini), and max-stytch. Their write access is declared in code and survives deploys.ROLE_IDS.MEMBERS, which puts them in themembersteam.MAINTAINERS, the rung above Member, so he is not givenMEMBERS.What
membersgrants PieterKas and max-stytch:pushonmodelcontextprotocol, andtriageondocs,.github,inspector,quickstart-resources, andservers.members (synced)role, applied only to entries that have adiscordid; the Discord sync skips entries without one. Both entries now have an id, each given by Paul Carleton in the linked thread, so both are synced intomembers (synced). The sync also removes any other managed(synced)Discord role an account holds that its entry does not declare. Both ids were checked against the Discord server on 2026-11-24:1065355335696658472): on the server as "Pieter Kasselman (Defakto)", holding no roles. The sync addsmembers (synced)and removes nothing.1099364476354035832): on the server as "Max (Twilio)", holding no roles. The sync addsmembers (synced)and removes nothing.auth-contributorshas no Discord role.Why Member: Paul Carleton asked for it in the linked thread. About Nate Barbettini and Max Gerber he wrote that Member is appropriate because "they've both been active auth-ig contributors for over a year", and then "Pieter can also be a member". The README says to add
ROLE_IDS.MEMBERS"once the ladder's sponsorship requirements are met". This PR does not record sponsors, so that is for the reviewing core maintainers to confirm.How:
src/config/roleIds.tsandsrc/config/roles.ts: newAUTH_CONTRIBUTORSrole (auth-contributors), GitHub team only. No Discord role, no Google group, noprovisionUser, nodiscordImplies.src/config/repoAccess.ts:ext-authgains{ team: 'auth-contributors', permission: 'push' }. The existingauth-maintainersadmingrant is unchanged.src/config/users.ts:PieterKas: new entry withdiscord: '1065355335696658472'andmemberOf: [ROLE_IDS.MEMBERS, ROLE_IDS.AUTH_CONTRIBUTORS].max-stytch: new entry withdiscord: '1099364476354035832'andmemberOf: [ROLE_IDS.MEMBERS, ROLE_IDS.AUTH_CONTRIBUTORS].nbarbettini:ROLE_IDS.AUTH_CONTRIBUTORSadded to his existing entry. His other roles (MAINTAINERS,WG_IG_FACILITATORS) are unchanged.README.md:auth-contributorsadded to the list of roles with no ladder counterpart.Parent team:
auth-contributorshas none, so the role itself grants onlypushonext-auth. A GitHub child team inherits its parent's repository access:members, everyone later added toauth-contributorswould also get themembersgrants above. Member status is therefore set per person withROLE_IDS.MEMBERS, which is the way the README documents.auth-maintainers, it would inheritadminonext-auth, plus the grants ofworking-groupsandsteering-committee.This follows the existing no-parent convention for
members,maintainers, andsecurity-team.npm run checkpasses (format, validate, 87 tests). The Pulumi preview should show a newauth-contributorsteam, three memberships of it, two newmembersteam memberships (PieterKas and max-stytch), an update to theext-authcollaborators, and two new Discord member role syncs, for PieterKas (discord-member-sync-1065355335696658472) and max-stytch (discord-member-sync-1099364476354035832); it may also show unrelated pre-existing drift.