oslo.policy/oslo_policy
Lance Bragstad 775641a5fc Teach Enforcer.enforce to deal with context objects
The ``creds`` dictionary passed into oslo.policy's enforce() method
assumes a lot of the same values already specified by oslo.context
RequestContext objects.

This commit teaches enforce() to handle being passed an instance of
a RequestContext object, and populate credential values accordingly.

Change-Id: Ia74bf6c40b1e05a1c958f4325e00f68be28d91b9
Closes-Bug: 1779172
2018-07-09 16:46:57 +00:00
..
locale/en_GB/LC_MESSAGES Imported Translations from Zanata 2018-03-01 06:47:29 +00:00
tests Teach Enforcer.enforce to deal with context objects 2018-07-09 16:46:57 +00: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 http/https check rules as stevedore extensions 2017-10-05 08:40:47 -04:00
generator.py Remove erroneous newline in sample generation 2018-06-01 21:25:19 +00:00
opts.py Add configuration option for enforcing scope 2017-12-20 17:05:02 +00:00
policy.py Teach Enforcer.enforce to deal with context objects 2018-07-09 16:46:57 +00:00
shell.py Remove dead code and use default value of argparse. 2017-01-02 11:21:44 +01:00
sphinxext.py Update sphinxext to include scope_types in docs 2018-06-01 19:50:53 +00:00
sphinxpolicygen.py make the sphinxpolicygen extension handle multiple input/output files 2018-04-30 10:11:21 -04:00
version.py pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz) 2017-02-06 12:49:22 -05:00