You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: user alice is not authorized to GET url /finance/salary/alice
If I remove the second allow clause from the policy then it works. This seems to indicate we may need an else conditional between the two allows? I'm new to OPA and not had any luck getting such a conditional to work.
Could you confirm this is an issue, or if I'm doing something wrong?
Update
Actually this appears to be a regression(?) When I use the docker image openpolicyagent/opa:0.5.10 the example works but when I use openpolicyagent/opa:0.5.11+ then I get this issue.
The text was updated successfully, but these errors were encountered:
I've run through the following example from the website but can't get point
3
to work.This fails with
If I remove the second
allow
clause from the policy then it works. This seems to indicate we may need anelse
conditional between the twoallow
s? I'm new to OPA and not had any luck getting such a conditional to work.Could you confirm this is an issue, or if I'm doing something wrong?
Update
Actually this appears to be a regression(?) When I use the docker image
openpolicyagent/opa:0.5.10
the example works but when I useopenpolicyagent/opa:0.5.11
+ then I get this issue.The text was updated successfully, but these errors were encountered: