From dec25317f1572860aa7f6205226e6fe5cf41d8f5 Mon Sep 17 00:00:00 2001 From: tlangs Date: Wed, 24 Jan 2024 16:56:52 -0500 Subject: [PATCH] use the right email --- .../dsde/workbench/sam/google/GoogleExtensions.scala | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/scala/org/broadinstitute/dsde/workbench/sam/google/GoogleExtensions.scala b/src/main/scala/org/broadinstitute/dsde/workbench/sam/google/GoogleExtensions.scala index 7b665e3d6..a0bf75064 100644 --- a/src/main/scala/org/broadinstitute/dsde/workbench/sam/google/GoogleExtensions.scala +++ b/src/main/scala/org/broadinstitute/dsde/workbench/sam/google/GoogleExtensions.scala @@ -87,6 +87,10 @@ class GoogleExtensions( s"${googleServicesConfig.resourceNamePrefix.getOrElse("")}GROUP_${CloudExtensions.allUsersGroupName.value}@$emailDomain" ) + private[google] val allPetSigningAccountsGroupEmail = WorkbenchEmail( + s"${googleServicesConfig.resourceNamePrefix.getOrElse("")}GROUP_${CloudExtensions.allPetSingingAccountsGroupName.value}@$emailDomain" + ) + private val userProjectQueryParam = "userProject" private val requestedByQueryParam = "requestedBy" private val defaultSignedUrlDuration = 60L @@ -116,7 +120,7 @@ class GoogleExtensions( } def getOrCreateAllPetSigningAccountsGroup(directoryDAO: DirectoryDAO, samRequestContext: SamRequestContext): IO[WorkbenchGroup] = { - val allPetSigningAccountsGroupStub = BasicWorkbenchGroup(CloudExtensions.allPetSingingAccountsGroupName, Set.empty, allUsersGroupEmail) + val allPetSigningAccountsGroupStub = BasicWorkbenchGroup(CloudExtensions.allPetSingingAccountsGroupName, Set.empty, allPetSigningAccountsGroupEmail) for { existingGroup <- directoryDAO.loadGroup(allPetSigningAccountsGroupStub.id, samRequestContext = samRequestContext) allPetSigningAccountsGroup <- existingGroup match {