Skip to content

Commit

Permalink
Fix non-subscription owner scenarios by adding Search Service Contrib…
Browse files Browse the repository at this point in the history
…utor user role (Azure-Samples#220)
  • Loading branch information
pablocastro authored May 18, 2023
1 parent 01a88b2 commit 472bfe9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,16 @@ module searchContribRoleUser 'core/security/role.bicep' = {
}
}

module searchSvcContribRoleUser 'core/security/role.bicep' = {
scope: searchServiceResourceGroup
name: 'search-svccontrib-role-user'
params: {
principalId: principalId
roleDefinitionId: '7ca78c08-252a-4471-8644-bb5ff32d4ba0'
principalType: 'User'
}
}

// SYSTEM IDENTITIES
module openAiRoleBackend 'core/security/role.bicep' = {
scope: openAiResourceGroup
Expand Down

0 comments on commit 472bfe9

Please sign in to comment.