Comment 2 for bug 1977549

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.policy (master)

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