]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Misprint in policy.json
authorEvgeny Antyshev <eantyshev@virtuozzo.com>
Sat, 27 Feb 2016 12:14:37 +0000 (12:14 +0000)
committerEvgeny Antyshev <eantyshev@virtuozzo.com>
Sat, 27 Feb 2016 12:22:44 +0000 (12:22 +0000)
Erroneous space in "rule: admin_api" was introduced in change Ibbd6f47c370d8f10c08cba358574b55e3059dcd1
oslo_policy regards space as a separator,
and fails to parse this rule: http://paste.openstack.org/show/488452/

Change-Id: I5de45c97a06b7ddecb36c2a1793c4f3fd5fd21d6

etc/cinder/policy.json

index 9e280cc6409e027845a5a4f7ad8fddd80ee988b8..a7686a579bc095464d75e59246fc4ee91caa595c 100644 (file)
@@ -39,7 +39,7 @@
     "volume_extension:quotas:update": "rule:admin_api",
     "volume_extension:quotas:delete": "rule:admin_api",
     "volume_extension:quota_classes": "rule:admin_api",
-    "volume_extension:quota_classes:validate_setup_for_nested_quota_use": "rule: admin_api",
+    "volume_extension:quota_classes:validate_setup_for_nested_quota_use": "rule:admin_api",
 
     "volume_extension:volume_admin_actions:reset_status": "rule:admin_api",
     "volume_extension:snapshot_admin_actions:reset_status": "rule:admin_api",