Skip to content

Commit

Permalink
use the right email
Browse files Browse the repository at this point in the history
  • Loading branch information
tlangs committed Jan 24, 2024
1 parent 99308b9 commit dec2531
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit dec2531

Please sign in to comment.