hexa-org / policy-opa

Supports integration of Hexa IDQL Policy into OPA environments
Apache License 2.0
3 stars 1 forks source link

EvaluateFilter - support dynamic variables on either side of a comparison #10

Closed independentid closed 2 months ago

independentid commented 3 months ago

currently condition expressions only support a variable on the left and a static value on the right. e.g.

subject.roles co editor

For authZen, we will have to compare values of multiple inputs against each other:

subject.roles co admin or resource.ownerid eq subject.claims.email

Note: Though generally applicable, this enhancement required for AuthZen interop.

independentid commented 3 months ago