Reviewed: https://review.opendev.org/c/openstack/oslo.policy/+/844611 Committed: https://opendev.org/openstack/oslo.policy/commit/d80573c61254a2f8f371746bc678bd3b60f8a6a4 Submitter: "Zuul (22348)" Branch: master
commit d80573c61254a2f8f371746bc678bd3b60f8a6a4 Author: Mitya_Eremeev <email address hidden> Date: Mon Jun 6 13:17:51 2022 +0300
Fix deprecated rule logic if the rule was deleted in policy directory.
The bug scenario: - define deprecated rule in policy folder - start a service - enforce policies - remove the rule in policy folder - enforce policies
New default is applied to the rule, but new and old defaults should be applied (OR logic) The patch fixes it.
Closes-Bug: 1977549 Change-Id: If11fe2da1163d6d3f16d133aeb207a055cf30de4
Reviewed: https:/ /review. opendev. org/c/openstack /oslo.policy/ +/844611 /opendev. org/openstack/ oslo.policy/ commit/ d80573c61254a2f 8f371746bc678bd 3b60f8a6a4
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit d80573c61254a2f 8f371746bc678bd 3b60f8a6a4
Author: Mitya_Eremeev <email address hidden>
Date: Mon Jun 6 13:17:51 2022 +0300
Fix deprecated rule logic if the rule was deleted in policy directory.
The bug scenario:
- define deprecated rule in policy folder
- start a service
- enforce policies
- remove the rule in policy folder
- enforce policies
New default is applied to the rule,
but new and old defaults should be applied
(OR logic)
The patch fixes it.
Closes-Bug: 1977549 d3f16d133aeb207 a055cf30de4
Change-Id: If11fe2da1163d6