]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Add initial code to support policy.json implementation
authorSteven Hardy <shardy@redhat.com>
Tue, 5 Feb 2013 19:21:00 +0000 (19:21 +0000)
committerSteven Hardy <shardy@redhat.com>
Tue, 5 Feb 2013 19:38:49 +0000 (19:38 +0000)
commitffaad1ffba2e1cb9d06ead8c34df3223c20a51fd
treef53ff78148c63d3e5e586dcef47135292db215db
parentc9666e8e853fae9ecf928407f32f57e2fadb3e2f
Add initial code to support policy.json implementation

We don't currently support a policy.json file like
other openstack services, so this code (mostly copied
from glance, then modified a bit) will allow us to
add policy-based authorization to out APIs fairly
easily

Change-Id: I5ad9f55b3d0979e2526953bdce8b8227852e4b72
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat/common/policy.py [new file with mode: 0644]
heat/tests/policy/deny_stack_user.json [new file with mode: 0644]
heat/tests/policy/notallowed.json [new file with mode: 0644]
heat/tests/test_common_policy.py [new file with mode: 0644]