oslo.policy/oslo_policy
Dmitrii Shcherbakov 5904564bf1 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.

Change-Id: I8a6f8e971d881365c41ea409966723319d5b239a
Closes-Bug: #1880959
Related-Bug: #1880847
(cherry picked from commit 75677a3110)
(cherry picked from commit c8c138e69d)
2020-06-17 17:56:09 +03:00
..
locale/en_GB/LC_MESSAGES Imported Translations from Zanata 2018-08-09 07:19:45 +00:00
tests Reload files in policy_dirs on primary file change 2020-06-17 17:56:09 +03:00
__init__.py exported from oslo-incubator by graduate.sh 2014-12-09 14:40:01 -03:00
_cache_handler.py Add missing parameter description in module _cache_handler 2016-11-02 02:39:38 +00:00
_checks.py Handle deprecation of inspect.getargspec 2017-11-21 12:55:11 -06:00
_external.py http/https check rules as stevedore extensions 2017-10-05 08:40:47 -04:00
_i18n.py Update URLs in documents according to document migration 2017-07-12 23:01:31 +08:00
_parser.py http/https check rules as stevedore extensions 2017-10-05 08:40:47 -04:00
fixture.py Update hacking version 2019-02-13 14:33:45 +08:00
generator.py Suppress deprecation warnings in oslopolicy-list-redundant 2019-11-18 20:26:11 +00:00
opts.py Clarify policy_file configuration option help text 2019-04-03 13:10:26 +00:00
policy.py Reload files in policy_dirs on primary file change 2020-06-17 17:56:09 +03:00
shell.py Modernize policy checker 2019-11-18 20:27:11 +00:00
sphinxext.py sphinxext: Start parsing 'DocumentedRuleDefault.description' as rST 2018-08-22 11:17:06 +01:00
sphinxpolicygen.py Update sphinx extension logging 2018-10-16 14:35:57 -05:00
version.py pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz) 2017-02-06 12:49:22 -05:00