Skip to content

Commit 65325ca

Browse files
authored
add infra team and leads to manageable groups (#178)
1 parent 64c67b9 commit 65325ca

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

src/ui/config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ export type KnownGroups = {
1818
Exec: string;
1919
CommChairs: string;
2020
StripeLinkCreators: string;
21+
InfraTeam: string;
22+
InfraLeads: string;
2123
};
2224

2325
export type ConfigType = {
@@ -73,6 +75,8 @@ const environmentConfig: EnvironmentConfigType = {
7375
Exec: execCouncilTestingGroupId,
7476
CommChairs: commChairsTestingGroupId,
7577
StripeLinkCreators: miscTestingGroupId,
78+
InfraTeam: miscTestingGroupId,
79+
InfraLeads: miscTestingGroupId,
7680
},
7781
},
7882
dev: {
@@ -106,6 +110,8 @@ const environmentConfig: EnvironmentConfigType = {
106110
Exec: execCouncilTestingGroupId,
107111
CommChairs: commChairsTestingGroupId,
108112
StripeLinkCreators: miscTestingGroupId,
113+
InfraTeam: miscTestingGroupId,
114+
InfraLeads: miscTestingGroupId,
109115
},
110116
},
111117
prod: {
@@ -139,6 +145,8 @@ const environmentConfig: EnvironmentConfigType = {
139145
Exec: execCouncilGroupId,
140146
CommChairs: commChairsGroupId,
141147
StripeLinkCreators: "675203eb-fbb9-4789-af2f-e87a3243f8e6",
148+
InfraTeam: "940e4f9e-6891-4e28-9e29-148798495cdb",
149+
InfraLeads: "f8dfc4cf-456b-4da3-9053-f7fdeda5d5d6",
142150
},
143151
},
144152
} as const;

src/ui/pages/iam/ManageIam.page.tsx

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
1-
import React, { useState } from "react";
2-
import {
3-
Title,
4-
SimpleGrid,
5-
Container,
6-
Select,
7-
Group,
8-
Stack,
9-
Text,
10-
} from "@mantine/core";
1+
import { useState } from "react";
2+
import { Title, SimpleGrid, Select, Stack, Text } from "@mantine/core";
113
import { AuthGuard } from "@ui/components/AuthGuard";
124
import { useApi } from "@ui/util/api";
135
import { AppRoles } from "@common/roles";
@@ -21,6 +13,8 @@ const userGroupMappings: KnownGroups = {
2113
Exec: "Executive Council",
2214
CommChairs: "Committee Chairs",
2315
StripeLinkCreators: "Stripe Link Creators",
16+
InfraTeam: "Infrastructure Team",
17+
InfraLeads: "Infrastructure Leads",
2418
};
2519

2620
export const ManageIamPage = () => {

0 commit comments

Comments
 (0)