| 1 |
--- |
| 2 |
upgrade: |
| 3 |
- | |
| 4 |
The Neutron service enable the API policies (RBAC) new defaults and scope |
| 5 |
by default. The Default value of config options |
| 6 |
``[oslo_policy] enforce_scope`` and |
| 7 |
``[oslo_policy] oslo_policy.enforce_new_defaults`` have been changed |
| 8 |
to ``True``. |
| 9 |
|
| 10 |
This means if you are using system scope token to access Neutron API then |
| 11 |
the request will be failed with 403 error code. Also, new defaults will be |
| 12 |
enforced by default. To know about the new defaults of each policy |
| 13 |
rule, refer to the `Policy New Defaults`_. For more detail about |
| 14 |
the Neutron API policies changes, refer to `Policy Concepts`_. |
| 15 |
|
| 16 |
If you want to disable them then modify the below config options value in |
| 17 |
``neutron.conf`` file:: |
| 18 |
|
| 19 |
[oslo_policy] |
| 20 |
enforce_new_defaults=False |
| 21 |
enforce_scope=False |
| 22 |
|
| 23 |
.. _`Policy New Defaults`: https://docs.openstack.org/neutron/latest/configuration/policy.html |
| 24 |
.. _`Policy Concepts`: https://docs.openstack.org/neutron/latest/contributor/internals/policy.html |
| 25 |
|