Reload files in policy_dirs on primary file change
It was determined that rules from policy files located in the directory
specified in the policy_dirs option (/etc/<config_dir>/policy.d by
default) are not re-applied after the rules from the primary policy file
is re-applied due to a change.
This change introduces additional behavior to make sure the rules from
policy_dirs are reapplied if there is a change to the primary policy
file.
Reviewed: https:/ /review. opendev. org/731218 /git.openstack. org/cgit/ openstack/ oslo.policy/ commit/ ?id=75677a31108 243e0adddc89f1f bf669053f9573b
Committed: https:/
Submitter: Zuul
Branch: master
commit 75677a31108243e 0adddc89f1fbf66 9053f9573b
Author: Dmitrii Shcherbakov <email address hidden>
Date: Wed May 27 17:06:25 2020 +0300
Reload files in policy_dirs on primary file change
It was determined that rules from policy files located in the directory config_ dir>/policy. d by
specified in the policy_dirs option (/etc/<
default) are not re-applied after the rules from the primary policy file
is re-applied due to a change.
This change introduces additional behavior to make sure the rules from
policy_dirs are reapplied if there is a change to the primary policy
file.
Change-Id: I8a6f8e971d8813 65c41ea40996672 3319d5b239a
Closes-Bug: #1880959
Related-Bug: #1880847