Deprecated rule logic does not work if the rule was deleted in policy directory.
Bug #1977549 reported by
Mitya Eremeev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.policy |
Fix Released
|
Undecided
|
Mitya Eremeev |
Bug Description
The main policy file does not exist.
The policy directory is not empty.
1. define deprecated rule in policy directory
2. start a service
3. enforce policy
4. remove deprecated rule in policy directory
5. enforce policy
Actual result:
new default is applied to deprecated rule.
Expected result:
old and new defaults are applied to deprecated rule (OR logic)
Changed in oslo.policy: | |
assignee: | nobody → Mitya Eremeev (mitos) |
status: | New → In Progress |
To post a comment you must log in.
Fix proposed to branch: master /review. opendev. org/c/openstack /oslo.policy/ +/844611
Review: https:/