Skip to content

Tuples being reversed when writing to OPENFGA #450

Answered by adriantam
rai-prakhar asked this question in Q&A
Discussion options

You must be logged in to vote

For

type store
  relations
    define has_role: [role]

It means that we assign role:X as user to the store:Y as object with has_role relation. However, your example is assigning store:store2907 as user to store:store2907 as `object. Thus, it is backward with respect to your model.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rai-prakhar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants