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
If you compare the two functions for adding a single, or multiple policies in model/policy.py, the add_policies method only appends the new rules, but does not update the policy_map if a priority is given for the rule.
The text was updated successfully, but these errors were encountered:
I checked the Go source code for AddPolicies, and it works correctly. Basically the Go AddPolicies calls AddPolicy for each policy. The python code for add_policies does not use add_policy internally, but directly appends the policy list to the model.
If you compare the two functions for adding a single, or multiple policies in model/policy.py, the add_policies method only appends the new rules, but does not update the policy_map if a priority is given for the rule.
The text was updated successfully, but these errors were encountered: