Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Commit

Permalink
Add missing property in results for security module
Browse files Browse the repository at this point in the history
  • Loading branch information
tonybaloney authored Jun 13, 2024
1 parent d835122 commit 8b2a441
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/app/security.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@ output roleDefinitions object = {
}

output roleAssignments array = union(
!empty(appPrincipalId) ? [ nosqlAppAssignment.outputs.id, openaiAppAssignment.outputs ] : [],
!empty(userPrincipalId) ? [ nosqlUserAssignment.outputs.id, registryUserAssignment.outputs.id, openaiUserAssignment.outputs ] : []
!empty(appPrincipalId) ? [ nosqlAppAssignment.outputs.id, openaiAppAssignment.outputs.id ] : [],
!empty(userPrincipalId) ? [ nosqlUserAssignment.outputs.id, registryUserAssignment.outputs.id, openaiUserAssignment.outputs.id ] : []
)

0 comments on commit 8b2a441

Please sign in to comment.