From 612abc48c1af36d931a9abb2cdcde5caefd5d115 Mon Sep 17 00:00:00 2001
From: Doug Schveninger <ds6901@att.com>
Date: Sat, 2 Jan 2016 19:03:46 -0600
Subject: [PATCH] Adding action to policy.json

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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/etc/cinder/policy.json b/etc/cinder/policy.json
index bcb53c48a..47d1cadbd 100644
--- a/etc/cinder/policy.json
+++ b/etc/cinder/policy.json
@@ -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",
-- 
2.45.2