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

Add missing property in results for security module #133

Merged
merged 2 commits into from
Jun 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions infra/app/security.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ output roleDefinitions object = {
}

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