nova/etc/nova
Eli Qiao 9c91781604 Add missing rules in policy.json
'etc/nova/policy.json' is sample file for polcy configration. But
there are a lot of rule missing in it. The user is hard to find
out which rule can be used in nova.

This patch adds the missing rule back to policy.json. Also adds a
test case to veify the contents of policy.

SecurityImpact
UpgradeImpact:
"os_compute_api:servers:create:forced_host" is missing in policy.json.
That means it will be default rule. But actually it should be admin
only API. This patch adds this rule back to policy.json and with
correct rule. Deployer should update their policy.json to match the
original permission also.

Co-Authored-By: Alex Xu <hejie.xu@intel.com>

Closes-Bug: #1435390
Change-Id: Ic0780a0d1ccf96c14f1e0ad9c3e9b23e2b0db0ea
2015-08-13 16:03:16 +08:00
..
rootwrap.d Add os-brick based LibvirtVolumeDriver for ScaleIO 2015-08-07 23:47:02 -04:00
README-nova.conf.txt fix the extension of README in etc/nova 2014-03-25 15:01:51 -07:00
api-paste.ini Merge "Clean the deprecated noauth middleware" 2015-08-06 21:10:32 +00:00
cells.json Remove trailing comma from sample JSON 2014-02-26 10:17:01 +08:00
logging_sample.conf Remove references to suds 2015-06-15 16:32:23 +03:00
nova-config-generator.conf Switch to oslo.service library 2015-07-11 02:54:42 +00:00
policy.json Add missing rules in policy.json 2015-08-13 16:03:16 +08:00
release.sample Allow loading of product/vendor/package info from external file 2012-12-19 18:54:33 +00:00
rootwrap.conf Fix invalid facilities documented in rootwrap.conf 2014-02-16 13:30:14 -08:00