Skip to content

Commit

Permalink
Merge pull request #24 from permitio/raz/per-8699-bug-in-tf-provider-…
Browse files Browse the repository at this point in the history
…role-derivation-wrong-input

update role derivation
  • Loading branch information
RazcoDev committed Jan 4, 2024
2 parents 9c6378f + b63b2d7 commit 08053c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/provider/role_derivations/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ func tfModelFromDerivedRoleRuleRead(plan roleDerivationModel, m models.DerivedRo
r := roleDerivationModel{}

r.Resource = plan.Resource
r.Role = plan.Role
r.ToRole = plan.ToRole
r.OnResource = types.StringValue(m.OnResource)
r.ToRole = types.StringValue(m.Role)
r.Role = types.StringValue(m.Role)
r.LinkedByRelation = types.StringValue(m.LinkedByRelation)

return r
Expand Down

0 comments on commit 08053c3

Please sign in to comment.