Don't use string processing to combine deprecated rules
Constructing a policy string by sticking ' or ' between the new and
deprecated check_str values is error-prone. Construct the policy
programmatically instead by parsing the check_str values separately and
combining them into an OrCheck.
Reviewed: https:/ /review. opendev. org/698790 /git.openstack. org/cgit/ openstack/ oslo.policy/ commit/ ?id=b93f51c1aa8 5ca4735118668d1 f890ca0fbe941d
Committed: https:/
Submitter: Zuul
Branch: master
commit b93f51c1aa85ca4 735118668d1f890 ca0fbe941d
Author: Zane Bitter <email address hidden>
Date: Thu Dec 12 11:03:30 2019 -0500
Don't use string processing to combine deprecated rules
Constructing a policy string by sticking ' or ' between the new and cally instead by parsing the check_str values separately and
deprecated check_str values is error-prone. Construct the policy
programmati
combining them into an OrCheck.
Change-Id: Ia2ee05aa08326c 6daa214a7b1156b aa6efe43dc0
Closes-Bug: #1856207