
After fix for the related bug will be fixed in oslo_policy [1], InvalidScope exception will be raised for the API requests done with project scope when "system" scope is required. This patch changes our API policies unit tests to expect proper exception to be raised in such cases. This patch also bumps minimum required oslo.policy version to 3.10.1 which contains fix for the scope enforcement in the custom rules. Finally it also re-enables enforcing scope in those UT. [1] https://review.opendev.org/c/openstack/oslo.policy/+/804980 Related-Bug: #1923503 Change-Id: I4c209fa4f504440a44d21a05f2703259f62519a5
OpenStack Neutron
Neutron is an OpenStack project to provide "network connectivity as a service" between interface devices (e.g., vNICs) managed by other OpenStack services (e.g., Nova).
To learn more about neutron:
- Documentation: https://docs.openstack.org/neutron/latest/
- Features: https://specs.openstack.org/openstack/neutron-specs
- Defects: https://launchpad.net/neutron
- Release notes: https://docs.openstack.org/releasenotes/neutron/index.html
- Source: https://opendev.org/openstack/neutron
Get in touch via email. Use [Neutron] in your subject.
To learn how to contribute, please read the CONTRIBUTING.rst file.
Description
Languages
Python
99.7%
Shell
0.3%