heat/heat
Jamie Lennox 528945425e 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
2016-07-12 13:42:00 +10:00
..
api Config: no need to set default=None 2016-06-28 15:25:15 +08:00
cloudinit Optimize "open" method with context manager 2015-11-27 07:48:55 -05:00
cmd Merge "Add --verbose-update-params option to heat-manage" 2016-05-17 22:12:49 +00:00
common Use to_policy_values from context for policy 2016-07-12 13:42:00 +10:00
db Be consistent about context first argument in db api 2016-06-22 10:45:04 +12:00
engine Merge "Use default client name for cinder resources" 2016-06-29 16:33:05 +00:00
hacking Restrict use of iteritems, iterkeys and itervalues 2016-03-23 10:05:54 +00:00
httpd Moved CORS middleware configuration into oslo-config-generator 2016-03-14 08:19:29 -07:00
locale Imported Translations from Zanata 2016-06-02 07:02:51 +00:00
objects Be consistent about context first argument in db api 2016-06-22 10:45:04 +12:00
openstack replace git protocol by https 2015-10-22 10:06:05 +08:00
rpc Merge "Implement event list nested-depth" 2016-06-28 03:01:59 +00:00
scaling Ignore NotFound exception in metadata_set 2016-05-26 18:28:10 +00:00
tests Use to_policy_values from context for policy 2016-07-12 13:42:00 +10:00
__init__.py Make import of oslo libraries namespaceless 2015-02-18 22:54:10 +01:00
version.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00