Add catch-all email group and platform filtering (#3)
- Add catch-all email group with admin-adam@modelcontextprotocol.io - Add onlyOnPlatforms configuration to restrict groups to specific platforms - Set antitrust and catch-all groups to Google only - Groups default to all platforms when onlyOnPlatforms is not specified
This commit is contained in:
parent
83c4314971
commit
0289b61df4
1 changed files with 24 additions and 0 deletions
|
|
@ -6,6 +6,9 @@ import { MEMBERS } from './config/users';
|
|||
const groups: Record<string, gworkspace.Group> = {};
|
||||
|
||||
GROUPS.forEach((group: Group) => {
|
||||
// Skip groups that don't include google in their platforms
|
||||
if (group.onlyOnPlatforms && !group.onlyOnPlatforms.includes('google')) return;
|
||||
|
||||
groups[group.name] = new gworkspace.Group(group.name, {
|
||||
email: `${group.name}@modelcontextprotocol.io`,
|
||||
name: group.name,
|
||||
|
|
|
|||
Loading…
Reference in a new issue