]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Added missing rules in policy.json
authorAjaya Agrawal <ajku.agr@gmail.com>
Tue, 18 Nov 2014 12:18:03 +0000 (17:48 +0530)
committerAjaya Agrawal <ajaya.agrawal@ril.com>
Thu, 20 Nov 2014 17:25:06 +0000 (22:55 +0530)
The policy file was missing rules
corresponding to volume get and
volume delete.

Change-Id: I414fabaf9e6a81d6973803bec5d47a75bf433470

etc/cinder/policy.json

index 8f3a7b2f97a83d74d45c7cf749e8814d70ed8648..64206ed62abf8ce5b9085657b7870473e1e7ce2e 100644 (file)
@@ -6,6 +6,8 @@
     "admin_api": "is_admin:True",
 
     "volume:create": "",
+    "volume:delete": "",
+    "volume:get": "",
     "volume:get_all": "",
     "volume:get_volume_metadata": "",
     "volume:get_volume_admin_metadata": "rule:admin_api",