Tuples being reversed when writing to OPENFGA #450
-
Im trying to write some tuples to open fga but repeatdly getting error that it is not defined in schema, though i have defined it. Schema: type user type store type role type page
type global_role Error:
Functions: Init:
} Setup: func (s *OpenFGAService) SetupStore(ctx context.Context, storeID string) error {
} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
For
It means that we assign |
Beta Was this translation helpful? Give feedback.
For
It means that we assign
role:X
asuser
to thestore:Y
asobject
withhas_role
relation. However, your example is assigningstore:store2907
asuser
tostore:store2907
as `object. Thus, it is backward with respect to your model.