Enable opt-in Google Workspace accounts for maintainers
Adds a google config with provisionUser to the MAINTAINERS role. Runtime provisioning already gates on firstName/lastName/googleEmailPrefix, so maintainers opt in by sending a PR adding those fields to their entry in users.ts. Missing fields means no account is created. Relaxes the validator and tests to treat missing GWS fields as implicit opt-out rather than a hard error, so existing maintainers do not need skipGoogleUserProvisioning set up front. Also documents the opt-in flow in the README.
This commit is contained in:
parent
c96a52bb95
commit
9ecc452da6
1 changed files with 23 additions and 10 deletions
18
README.md
18
README.md
|
|
@ -11,6 +11,24 @@ Infrastructure as Code for managing access to MCP community resources using Pulu
|
|||
- **GitHub Teams**: Automatically syncs team memberships in the MCP GitHub organization
|
||||
- **Google Workspace Groups**: Automatically syncs group memberships for @modelcontextprotocol.io email accounts
|
||||
- **Email Groups**: Groups with `isEmailGroup: true` accept emails from anyone (including external users) and notify all members. External posts are moderated for security.
|
||||
- **Google Workspace User Accounts**: Provisions @modelcontextprotocol.io accounts for members of roles with `provisionUser: true`
|
||||
|
||||
### Opting in to a Google Workspace account (maintainers)
|
||||
|
||||
If you're a maintainer and want an `@modelcontextprotocol.io` account, open a PR adding the following fields to your entry in [`src/config/users.ts`](src/config/users.ts):
|
||||
|
||||
```ts
|
||||
{
|
||||
github: 'your-github-username',
|
||||
// ...
|
||||
firstName: 'Your',
|
||||
lastName: 'Name',
|
||||
googleEmailPrefix: 'yourname', // -> yourname@modelcontextprotocol.io
|
||||
memberOf: [ROLE_IDS.MAINTAINERS /* , ... */],
|
||||
},
|
||||
```
|
||||
|
||||
Once merged, Pulumi provisions the account. An admin will share your initial password (retrievable via `pulumi stack output --show-secrets newGWSUserPasswords`).
|
||||
|
||||
## Deployment
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue