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
Hello, I recently got started using the AuthZForce PDP/PAP API's, and for some reason every request is resulting in a permit. As an example, here is a policy I created:
The PDP is still using the default root PolicySet. Beware that only the root PolicySet or PolicySets referenced by it (via PolicySetIdReference) are used actually by the PDP for evaluation. The root policy - where the PDP starts the evaluation - is set in PDP properties as explained in the doc.
If you want the PDP to evaluate your policy (P1 in the case) directly as the root policy, either you change the policy's PolicySetId to match the current rootPolicyRefExpression value, or you change rootPolicyRefExpression to P1. You can also use it as a child policy by updating the current root policy with a PolicySetIdReference to P1.
Hello, I recently got started using the AuthZForce PDP/PAP API's, and for some reason every request is resulting in a permit. As an example, here is a policy I created:
And yet, the request below results in a
Permit
If I enable
ReturnPolicyIfList
I see the line<PolicyIdReference Version="0.1.0">permit-all</PolicyIdReference>
How to disable this? Will just manually removing the 0.1.0.xml file and restarting Tomcat do it or is there a specific API call I need to make?
The text was updated successfully, but these errors were encountered: