]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Adding action to policy.json
authorDoug Schveninger <ds6901@att.com>
Sun, 3 Jan 2016 01:03:46 +0000 (19:03 -0600)
committerDoug Schveninger <ds6901@att.com>
Tue, 19 Jan 2016 23:06:39 +0000 (23:06 +0000)
After reviewing code found out the volume:create_snapshot policy.json
action is missing so added it to the policy.json file.

Closes-bug: #1530196

Change-Id: I2a0bf01bc465b0bcbe7ea0b7c65b90851ddfac2c

etc/cinder/policy.json

index bcb53c48a2e1cbc947fdd218788744464ada5980..47d1cadbdebf1b10d58cc39db33cb37877e4feec 100644 (file)
@@ -16,6 +16,7 @@
     "volume:update_volume_admin_metadata": "rule:admin_api",
     "volume:get_snapshot": "rule:admin_or_owner",
     "volume:get_all_snapshots": "rule:admin_or_owner",
+    "volume:create_snapshot": "rule:admin_or_owner",
     "volume:delete_snapshot": "rule:admin_or_owner",
     "volume:update_snapshot": "rule:admin_or_owner",
     "volume:extend": "rule:admin_or_owner",