nova/etc/nova
Claudiu Belu 7d01bceaa0 policy: clean-up
Registers in-code the last remaining policy rules.
Adds missing 'discoverable' rules. Without them,
the extension_info API can fail, as it tries to check the
os_compute_api:os_server_tags:discoverable rule. As it wasn't
previously registered, when listing the available extensions,
an exception of type PolicyNotRegistered is encountered.
In order to validate this, functional/api_sample_tests/test_extension_info.py
now runs without mocking policy.authorize.

Switches extension_info to context.can.
Switches nova.cells.filters to context.can.
Switches network.neutronv2.api to context.can.

Removes the rest of the entries in etc/policy.json.
Removes DefaultPolicyTestCase, as it tests the default
policy rule, which is not registered.
Removes rules from fake_policy.py that brings no value,
that are the same as the default values.
Removes extensions authorizer factories.
Removes nova.policy.enforce.

Change-Id: Ie7771768f4f3efe0edc787c12f297aa93d533d7e
Partially-Implements: bp policy-in-code
2016-06-30 19:56:14 +00:00
..
rootwrap.d libvirt: virtuozzo instance resize support 2016-06-28 22:13:49 +03:00
README-nova.conf.txt Add link to the latest nova.conf example 2016-04-05 03:32:13 +00:00
api-paste.ini Add proxy middleware to application pipeline 2016-05-30 08:12:20 +03:00
cells.json Remove trailing comma from sample JSON 2014-02-26 10:17:01 +08:00
logging_sample.conf Fix logging_sample.conf to use oslo_log formatter 2015-09-24 18:04:20 +09:00
nova-config-generator.conf set wrap_width for config generator to 80 2016-06-02 10:42:32 -04:00
nova-policy-generator.conf Add policy sample generation 2016-06-28 20:52:44 +00:00
policy.json policy: clean-up 2016-06-30 19:56:14 +00:00
release.sample Allow loading of product/vendor/package info from external file 2012-12-19 18:54:33 +00:00
rootwrap.conf Add /usr/local/{sbin,bin} to rootwrap exec_dirs 2016-02-15 14:08:24 +11:00