magnum/magnum/tests/unit/api/controllers
ricolin 23efb30d39 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-06-01 02:15:15 +08:00
..
v1 Support enables rbac policies new defaults 2023-06-01 02:15:15 +08:00
__init__.py Make room for functional tests 2015-04-02 12:25:43 -04:00
auth-paste.ini Deploy healthcheck middleware as app instead of filter 2021-08-19 10:21:15 +09:00
auth-root-access.ini Deploy healthcheck middleware as app instead of filter 2021-08-19 10:21:15 +09:00
auth-v1-access.ini Deploy healthcheck middleware as app instead of filter 2021-08-19 10:21:15 +09:00
noauth-paste.ini Remove deprecated usage of CORS.set_latent 2017-08-18 11:16:02 +08:00
test_base.py [goal] Prepare pep8 testing for Ubuntu Focal 2020-09-09 13:31:45 +05:30
test_root.py Support enables rbac policies new defaults 2023-06-01 02:15:15 +08:00