diff options
author | Zuul <zuul@review.openstack.org> | 2018-07-12 16:30:58 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2018-07-12 16:30:58 +0000 |
commit | f319967738e671e1400052e39116ff3c23b9f9a0 (patch) | |
tree | 58c9c0b4e88f8c6956eeabd823b71568ccb30450 /releasenotes | |
parent | 733315cc604ec1af20741dc38058173a993e0db9 (diff) | |
parent | 775641a5fc549c20be37cf862deca394bf7f2d21 (diff) | |
download | oslo-policy-f319967738e671e1400052e39116ff3c23b9f9a0.tar.gz |
Merge "Teach Enforcer.enforce to deal with context objects"1.38.0
Diffstat (limited to 'releasenotes')
-rw-r--r-- | releasenotes/notes/bug-1779172-c1323c0f647bc44c.yaml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/releasenotes/notes/bug-1779172-c1323c0f647bc44c.yaml b/releasenotes/notes/bug-1779172-c1323c0f647bc44c.yaml new file mode 100644 index 0000000..77e3569 --- /dev/null +++ b/releasenotes/notes/bug-1779172-c1323c0f647bc44c.yaml @@ -0,0 +1,19 @@ +--- +features: + - | + [`bug 1779172 <https://bugs.launchpad.net/keystone/+bug/1779172>`_] + The ``enforce()`` method now supports the ability to parse ``oslo.context`` + objects if passed into ``enforce()`` as ``creds``. This provides more + consistent policy enforcement for service developers by ensuring the + attributes provided in policy enforcement are standardized. In this case + they are being standardized through the + ``oslo_context.context.RequestContext.to_policy_values()`` method. +fixes: + - | + [`bug 1779172 <https://bugs.launchpad.net/keystone/+bug/1779172>`_] + The ``enforce()`` method now supports the ability to parse ``oslo.context`` + objects if passed into ``enforce()`` as ``creds``. This provides more + consistent policy enforcement for service developers by ensuring the + attributes provided in policy enforcement are standardized. In this case + they are being standardized through the + ``oslo_context.context.RequestContext.to_policy_values()`` method. |