]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove empty rules from policies for API access
authorIvan Kolodyazhny <e0ne@e0ne.info>
Tue, 1 Sep 2015 11:00:06 +0000 (14:00 +0300)
committerIvan Kolodyazhny <e0ne@e0ne.info>
Fri, 4 Sep 2015 19:58:42 +0000 (22:58 +0300)
commite065e70a69b1b6de1bd383cb471dbab62b93e03a
treedb1285cccdb618d9048c8ea1ab2536236270191f
parent19cee43defd37f8ef9534045eb69aa1f8c0a7465
Remove empty rules from policies for API access

Empty policy rule means that API method is allowed by anybody. Default rule
is used only if such rule is not defined in policy.json.

This patch changes empty rules to admin_api or admin_or_owner.

Closes-Bug: #1477621
Closes-Bug: #1491495
Change-Id: I512e65e62da7dab5834a21ef9fd967ed6e9bb695
etc/cinder/policy.json