Skip to content

Commit 3062b5a

Browse files
JEMINTJT
andauthored
fix(auth): enforce workspace manager access control (#669)
Signed-off-by: JT <[email protected]> Co-authored-by: JT <[email protected]>
1 parent e94290d commit 3062b5a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/authentication/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class Authentication extends Construct {
4747
getConstructId("WorkspaceManagerGroup", config),
4848
{
4949
userPoolId: userPool.userPoolId,
50-
groupName: getConstructId("workspace-manager", config),
50+
groupName: getConstructId("workspace_manager", config),
5151
description: "Workspace managers group",
5252
}
5353
);

tests/__snapshots__/cdk-app.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ exports[`snapshot test with CMK 1`] = `
623623
"AuthenticationWorkspaceManagerGroupB3DA7503": {
624624
"Properties": {
625625
"Description": "Workspace managers group",
626-
"GroupName": "workspace-manager",
626+
"GroupName": "workspace_manager",
627627
"UserPoolId": {
628628
"Ref": "AuthenticationUserPool28698864",
629629
},

tests/authentication/__snapshots__/autentication-construct.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ exports[`snapshot test 1`] = `
217217
"AuthenticationConstructWorkspaceManagerGroup00E7A4D7": {
218218
"Properties": {
219219
"Description": "Workspace managers group",
220-
"GroupName": "workspace-manager",
220+
"GroupName": "workspace_manager",
221221
"UserPoolId": {
222222
"Ref": "AuthenticationConstructUserPoolFE5ABE04",
223223
},

tests/chatbot-api/__snapshots__/chatbot-api-construct.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ exports[`snapshot test 1`] = `
607607
"AuthenticationWorkspaceManagerGroupB3DA7503": {
608608
"Properties": {
609609
"Description": "Workspace managers group",
610-
"GroupName": "workspace-manager",
610+
"GroupName": "workspace_manager",
611611
"UserPoolId": {
612612
"Ref": "AuthenticationUserPool28698864",
613613
},

0 commit comments

Comments
 (0)