summaryrefslogtreecommitdiff
path: root/releasenotes/notes/bug-1779172-c1323c0f647bc44c.yaml
blob: 77e3569ef80e0684b3523a08b6ce119877ad69c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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.