Ben Nemec 5d3aeb53a9 Suppress deprecation warnings in oslopolicy-list-redundant
When running the tool against a project with a lot of deprecated
policies, the deprecation warnings overwhelm the important output
from the tool. Since checking for deprecations isn't the purpose of
this tool, let's just suppress warnings and limit the output to the
list of redundant policy rules that the user cares about.

I will note that the suppress_deprecation_warnings member is marked
as test only, but that was targeted at consumers of oslo.policy
rather than oslo.policy itself. I could also argue that we're
"testing" for redundant policies here, but that feels like semantic
hair splitting. :-)

Change-Id: I194af14ebd341366dbb1dd033654739a7f3d085c
Partial-Bug: 1836568
2019-09-17 21:50:14 +00:00
2019-04-19 19:29:48 +00:00
2019-07-05 14:55:57 -04:00
2017-04-08 23:36:11 +08:00
2019-07-05 14:55:57 -04:00
2017-03-03 03:07:08 +00:00

Team and repository tags

image

oslo.policy

Latest Version

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%