diff --git a/plugins/google/pkg/app/assets/transform_template.tmpl b/plugins/google/pkg/app/assets/transform_template.tmpl index c3f8456..8ab56ee 100644 --- a/plugins/google/pkg/app/assets/transform_template.tmpl +++ b/plugins/google/pkg/app/assets/transform_template.tmpl @@ -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 }}