With enforcing scopes enabled in Neutron, oslo_policy can raise InvalidScope exception while enforcing policy rules. So this exception type should be handled in the same way as it is with PolicyNotAuthorized. Otherwise neutron returns 500 if InvalidScope exception was raised by the policy enforce. Closes-Bug: #1959333 Change-Id: Iad1e2c9f797091d728d419c6b9dc67d861d4214a
1.1 KiB
1.1 KiB