Issues with condition in write and check APIs #339
Closed
stefanmilivojevic91
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'm having issues writing condition through write api.
Payload example:
Condition is defined as:
and there is a relation defined as:
define r_data_manager: [user with is_over_18]
When I try check API condition is not evaluated, it doesn't matter what I'm sending for current_age it always returns allowed: true
What am I missing here? I'm using latest openfga docker image.
Thanks in advance,
Stefan Milivojevic
Beta Was this translation helpful? Give feedback.
All reactions