nova/nova/tests/unit/api
Ghanshyam Mann d97af33c06 Enable new defaults and scope checks by default
As discussed in PTG, we need to test the new RBAC in the
integrated gate and accordingly enable the new defaults
and scope check by default. A new integrated testing job
has been added and results show that the new defaults and
scope checks are working fine. During testing, we found a
few bugs in neutron policies but all are fixed now.

enforce_scope and enforce_new_defaults are oslo policy config
options but they are per service level and the default value
can be overridden. Oslo policy 3.11.0 version allows to override
the default value for these config options[1] so upgrading the
oslo policy version in requirements.txt

Depends-On: https://review.opendev.org/c/openstack/devstack/+/869781
Depends-On: https://review.opendev.org/c/openstack/placement/+/869525

[1] https://github.com/openstack/oslo.policy/blob/3.11.0/oslo_policy/opts.py#L125

Change-Id: I977b2daedf880229c8d364ca011f2ea965b86e3a
2023-01-10 23:37:13 -06:00
..
openstack Enable new defaults and scope checks by default 2023-01-10 23:37:13 -06:00
validation libvirt: Add vIOMMU device to guest 2022-09-01 04:50:16 +08:00
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_auth.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_compute_req_id.py Migrate to oslo request_id middleware - mv 2.46 2017-05-27 10:11:44 +00:00
test_wsgi.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00