Comment 7 for bug 1602081

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/335303
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=528945425e43c9c3d62c4d367b002ec02913900c
Submitter: Jenkins
Branch: master

commit 528945425e43c9c3d62c4d367b002ec02913900c
Author: Jamie Lennox <email address hidden>
Date: Wed Jun 29 13:38:39 2016 +1000

    Use to_policy_values from context for policy

    The oslo.context to_policy_values provide the standard arguments that
    should be passed to oslo.policy for enforcement. By using these values
    heat will automatically gain support for new things like
    is_admin_project as they are supported by oslo_context.

    Because previously the whole to_dict was passed to policy enforcement we
    are actually removing a whole bunch of options that could be used in
    policy enforcement - however from a practical perspective i'm not sure
    anyone would have used them.

    Closes-Bug: #1602081
    Change-Id: I244ed767e2077cf43d55104779484b64bd28c85f