Skip to content

Commit

Permalink
add subject relation to nested groups
Browse files Browse the repository at this point in the history
  • Loading branch information
ogazitt committed Mar 8, 2024
1 parent 1aeb0bc commit 4d4f698
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/google/pkg/app/assets/transform_template.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@
"object_id": "{{$.email}}",
"relation": "member",
"subject_type": "{{$subject_type}}",
{{ if contains $element.type "GROUP" }}
"subject_relation": "member",
{{ end }}
"subject_id": "{{$element.email}}"
}
{{ end }}
Expand Down

0 comments on commit 4d4f698

Please sign in to comment.