summaryrefslogtreecommitdiff
path: root/releasenotes/notes/enable-enforce-scope-and-new-defaults-14db8c75b263b599.yaml
blob: 72a6f861b6fa9d4aaf1f4797a0839503fc5fc68b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
upgrade:
  - |
    The Nova service enable the API policies (RBAC) new defaults and scope by
    default. The Default value of config options ``[oslo_policy] enforce_scope``
    and ``[oslo_policy] oslo_policy.enforce_new_defaults`` have been changed
    to ``True``.

    This means if you are using system scope token to access Nova API then
    the request will be failed with 403 error code. Also, new defaults will be
    enforced by default. To know about the new defaults of each policy
    rule, refer to the `Policy New Defaults`_. For more detail about the Nova
    API policies changes, refer to `Policy Concepts`_.

    If you want to disable them then modify the below config options value in
    ``nova.conf`` file::

      [oslo_policy]
      enforce_new_defaults=False
      enforce_scope=False

    .. _`Policy New Defaults`: https://docs.openstack.org/nova/latest/configuration/policy.html
    .. _`Policy Concepts`: https://docs.openstack.org/nova/latest/configuration/policy-concepts.html