Lance Bragstad 4f68708a49 Only log deprecation warnings when they are overridden
The policy deprecation logic use to log a warning for operators that
a policy was being removed regardless of the policy being overridden
in a policy file somewhere. This can be somewhat noisy especially if
there isn't anything for the operator to do since they haven't
overridden the default.

This commit changes the check to see if the deprecated policy is
in the file_rules instead of just the registered rules. This means
that operators should only see a deprecated for removal warning
iff they are providing an override.

Change-Id: Ia82516e9a13f6d04be2428b2a03883272be93329
2018-01-05 21:00:16 +00:00
2017-04-08 23:36:11 +08:00
2017-03-03 03:07:08 +00:00
2017-11-30 11:30:17 +08:00
2017-12-07 22:23:03 +00:00

Team and repository tags

image

oslo.policy

Latest Version

Downloads

The Oslo Policy library provides support for RBAC policy enforcement across all OpenStack services.

Description
Rules engine to enforce access control policy
Readme 6.6 MiB
Languages
Python 100%