Skip to content

Commit 773e468

Browse files
committed
add group mappings
1 parent 8f8e483 commit 773e468

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/plugins/auth.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,15 @@ import {
1616

1717
const CONFIG_SECRET_NAME = "infra-events-api-config" as const;
1818
const GroupRoleMapping: Record<RunEnvironment, Record<string, AppRoles[]>> = {
19-
prod: { "48591dbc-cdcb-4544-9f63-e6b92b067e33": [AppRoles.MANAGER] }, // Infra Chairs
19+
prod: {
20+
"48591dbc-cdcb-4544-9f63-e6b92b067e33": [AppRoles.MANAGER], // Infra Chairs
21+
"ff49e948-4587-416b-8224-65147540d5fc": [AppRoles.MANAGER], // Officers
22+
"ad81254b-4eeb-4c96-8191-3acdce9194b1": [AppRoles.MANAGER] // Exec
23+
},
2024
dev: {
2125
"48591dbc-cdcb-4544-9f63-e6b92b067e33": [AppRoles.MANAGER], // Infra Chairs
26+
"940e4f9e-6891-4e28-9e29-148798495cdb": [AppRoles.MANAGER], // ACM Infra Team
27+
"f8dfc4cf-456b-4da3-9053-f7fdeda5d5d6": [AppRoles.MANAGER], // Infra Leads
2228
"0": [AppRoles.MANAGER], // Dummy Group for development only
2329
},
2430
};

0 commit comments

Comments
 (0)