]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Add volume_extensions:quotas:delete to policy.json
authorMichał Dulko <michal.dulko@intel.com>
Wed, 16 Dec 2015 15:19:42 +0000 (16:19 +0100)
committerMichał Dulko <michal.dulko@intel.com>
Wed, 16 Dec 2015 15:21:44 +0000 (16:21 +0100)
Aformentioned entry was missing from default policy.json file, so the
call wasn't blocked for non-admin user. It was failing on Keystone
connection and resulted in 500 HTTP error. This addition fixes the
issue.

Closes-Bug: 1526839
Change-Id: Ib26670ea60b3e9193d91183aee35cd8aaf733068

etc/cinder/policy.json

index 1b07629a9a8eaa6e98e567a4f9a18e4cc1ebf76b..bcb53c48a2e1cbc947fdd218788744464ada5980 100644 (file)
@@ -36,6 +36,7 @@
 
     "volume_extension:quotas:show": "",
     "volume_extension:quotas:update": "rule:admin_api",
+    "volume_extension:quotas:delete": "rule:admin_api",
     "volume_extension:quota_classes": "rule:admin_api",
 
     "volume_extension:volume_admin_actions:reset_status": "rule:admin_api",