magnum/magnum/tests/unit/api/controllers/v1
ricolin 5971243169 Support enables rbac policies new defaults
The Magnum service allow enables 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`` are both to
``False``, but will change to ``True`` in following cycles.

To enable them then modify the below config options value in
``magnum.conf`` file::

  [oslo_policy]
  enforce_new_defaults=True
  enforce_scope=True

reference tc goal for more detail:
https://governance.openstack.org/tc/goals/selected/consistent-and-secure-rbac.html

Related blueprint secure-rbac

Change-Id: I249942a355577c4f1ef51b3988f0cc4979959d0b
2023-08-30 00:35:24 +08:00
..
__init__.py Make room for functional tests 2015-04-02 12:25:43 -04:00
test_certificate.py Support enables rbac policies new defaults 2023-08-30 00:35:24 +08:00
test_cluster.py Support enables rbac policies new defaults 2023-08-30 00:35:24 +08:00
test_cluster_actions.py Support enables rbac policies new defaults 2023-08-30 00:35:24 +08:00
test_cluster_template.py Drop Mesos code 2023-03-07 14:02:05 +11:00
test_federation.py Fix misuse of assertTrue 2022-09-21 10:33:37 +00:00
test_magnum_service.py Use unittest.mock instead of third party mock 2020-04-29 17:10:23 +03:00
test_nodegroup.py Support enables rbac policies new defaults 2023-08-30 00:35:24 +08:00
test_quota.py Support enables rbac policies new defaults 2023-08-30 00:35:24 +08:00
test_stats.py Support enables rbac policies new defaults 2023-08-30 00:35:24 +08:00
test_types.py Use unittest.mock instead of third party mock 2020-04-29 17:10:23 +03:00
test_utils.py Use unittest.mock instead of third party mock 2020-04-29 17:10:23 +03:00