From 0ff6b52ff2838943870ac34c0cd7921023df4474 Mon Sep 17 00:00:00 2001 From: Andrew Laski Date: Mon, 28 Jan 2013 16:32:05 -0500 Subject: Finer access control in os-volume_attachments Allows policy.json access controls to authorize requests for specific actions, rather than just being an all or nothing control for the entire extension. Bug 1108222 DocImpact Change-Id: I78e1f596f22434a73bec3952ed024e4d58faac51 --- nova/tests/fake_policy.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nova/tests') diff --git a/nova/tests/fake_policy.py b/nova/tests/fake_policy.py index dbf620196..ead43adea 100644 --- a/nova/tests/fake_policy.py +++ b/nova/tests/fake_policy.py @@ -157,6 +157,10 @@ policy_data = """ "compute_extension:virtual_interfaces": "", "compute_extension:virtual_storage_arrays": "", "compute_extension:volumes": "", + "compute_extension:volume_attachments:index": "", + "compute_extension:volume_attachments:show": "", + "compute_extension:volume_attachments:create": "", + "compute_extension:volume_attachments:delete": "", "compute_extension:volumetypes": "", "compute_extension:zones": "", "compute_extension:availability_zone:list": "", -- cgit