Adds default values for policy rules in code and removes them from etc/policy.json file. The change is validated by the nova.tests.unit.test_policy unit tests. Adds default policy rules in policy_fixture. The policy_fixture is currently loading an incomplete set of policy rules (from policy.json or fake_policy), resulting in unit tests running with an incomplete set of policy rules. Co-Authored-By: Andrew Laski <andrew@lascii.com> Partially-Implements: bp policy-in-code Change-Id: I7a7dc2a111d536380a763169320a0820b0715a11
1.0 KiB
1.0 KiB