Add antitrust email group (#2)
Sets up antitrust@modelcontextprotocol.io email group
This commit is contained in:
parent
744709c087
commit
83c4314971
1 changed files with 44 additions and 9 deletions
|
|
@ -17,18 +17,25 @@ GROUPS.forEach((group: Group) => {
|
|||
|
||||
// Maximise visibility of group. It's visible in GitHub anyway
|
||||
whoCanViewMembership: 'ALL_IN_DOMAIN_CAN_VIEW',
|
||||
|
||||
|
||||
// This specifies who can add/remove members. We want this to only be via this IaC.
|
||||
whoCanModerateMembers: 'NONE',
|
||||
whoCanLeaveGroup: 'NONE_CAN_LEAVE',
|
||||
whoCanJoin: 'INVITED_CAN_JOIN',
|
||||
|
||||
// We don't intend these groups to be used as mailing lists, so we set posting and viewing messages to the most restrictive settings currently available.
|
||||
whoCanPostMessage: 'ALL_OWNERS_CAN_POST',
|
||||
whoCanContactOwner: 'ALL_OWNERS_CAN_CONTACT',
|
||||
// This is badly named, but actually means 'Permissions to view group messages'. See https://developers.google.com/workspace/admin/groups-settings/v1/reference/groups
|
||||
whoCanViewGroup: 'ALL_OWNERS_CAN_VIEW',
|
||||
|
||||
|
||||
// Email groups allow anyone (including externals) to post
|
||||
// Non-email groups are not intended as mailing lists, so use the most restrictive settings
|
||||
// whoCanViewGroup is badly named, but actually means 'Permissions to view group messages'. See https://developers.google.com/workspace/admin/groups-settings/v1/reference/groups
|
||||
...(group.isEmailGroup ? {
|
||||
whoCanPostMessage: 'ANYONE_CAN_POST',
|
||||
whoCanContactOwner: 'ALL_OWNERS_CAN_CONTACT',
|
||||
whoCanViewGroup: 'ALL_MEMBERS_CAN_VIEW',
|
||||
} : {
|
||||
whoCanPostMessage: 'ALL_OWNERS_CAN_POST',
|
||||
whoCanContactOwner: 'ALL_OWNERS_CAN_CONTACT',
|
||||
whoCanViewGroup: 'ALL_OWNERS_CAN_VIEW',
|
||||
}),
|
||||
|
||||
});
|
||||
|
||||
group.memberOf?.forEach((parentGroupKey) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue