fix: converters (#1413)

* fix: converters

* fix: converters

* comments
This commit is contained in:
Livio Amstutz
2021-03-12 14:06:05 +01:00
committed by GitHub
parent af55c4a65c
commit e9eb5b7848
27 changed files with 149 additions and 58 deletions
+3 -2
View File
@@ -10,10 +10,11 @@ func OrgIAMPolicyToPb(policy *model.OrgIAMPolicyView) *policy_pb.OrgIAMPolicy {
return &policy_pb.OrgIAMPolicy{
UserLoginMustBeDomain: policy.UserLoginMustBeDomain,
IsDefault: policy.Default,
Details: object.ToDetailsPb(
Details: object.ToViewDetailsPb(
policy.Sequence,
policy.CreationDate,
policy.ChangeDate,
"policy.ResourceOwner", //TODO: resource owner
"", //TODO: resource owner
),
}
}