]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat api : Add policy.json authorization to cloudwatch API
authorSteven Hardy <shardy@redhat.com>
Wed, 6 Feb 2013 16:32:54 +0000 (16:32 +0000)
committerSteven Hardy <shardy@redhat.com>
Thu, 7 Feb 2013 10:22:14 +0000 (10:22 +0000)
commit1b1dd456b21a32235ab0327f9fbc312892ec6c46
tree4381de8f23c6d8d8a5ee8279106306afcbefb369
parentd2223869f97055bd1012a31a29c3b1df24773a79
heat api : Add policy.json authorization to cloudwatch API

Adds a basic policy.json to authorize all actions for the CW API -
this will deny access to the in-instance users defined in stack
templates (which are assigned the heat_stack_user role) to all API
actions apart from PutMetricData action, which is used by
cfn-push-stats to provide metric data from the instances

Change-Id: I2bbb885bec98b85828cdb92d7efc0688da7be3c1
Signed-off-by: Steven Hardy <shardy@redhat.com>
etc/heat/policy.json
heat/api/cloudwatch/watch.py
heat/tests/policy/deny_stack_user.json
heat/tests/test_api_cloudwatch.py
heat/tests/test_common_policy.py