Partial evaluation understanding #64
Unanswered
thomascoquet
asked this question in
OPA and Rego
Replies: 1 comment 3 replies
-
By default, PE will run with unknowns set to I often find it simpler to play with PE on the command line, with
which strikes me as exactly what you'd like, isn't it? 🤔 Not we'll just need to figure out how to translate it into using the rego golang interface... |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am having issue understanding how partial evaluation works. I thought we could prepare a query for further evaluation given what is known at the time (query and inputs).
For example, I have a policy to grant access and it will be used at two different code paths. Do I need to create two different policies?
Expected Behavior
allowed: true
Actual Behavior
allowed: false
Thanks
Beta Was this translation helpful? Give feedback.
All reactions