cyborg/cyborg/tests
Ghanshyam Mann d74365969e Drop system scope from RBAC
In new RBAC rules, all openstack services except
ironic and keystone have dropped the system scope.
- https://governance.openstack.org/tc/goals/selected/consistent-and-secure-rbac.html#phase-1

All the policy rules should be scoped to project and
system scoped token should not be allowed to access
the Cyborg APIs.

As oslo.policy 4.4.0 enable the scope check and new
defaults, it break cyborg tests and to fix that we need
to drop the system scope from the cyborg policies.

Ref:
- https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/6IDPXIXZ6FBKONNHFRU3ZPSXIIQJXUIE/
- https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/message/MPHSVG222OFHJL2AQD2A7CJGTH57SRCJ/

Change-Id: Iafbd5470e55e10ffb6bcddd232a698eb042d7eed
2024-09-17 20:56:51 -07:00
..
functional add api unit test 2017-09-14 13:56:59 +08:00
unit Drop system scope from RBAC 2024-09-17 20:56:51 -07:00
__init__.py Rename old Nomad files to Cyborg 2017-02-05 22:31:28 +08:00
base.py Fix unit test 2022-06-22 05:43:53 +00:00
post_mortem_debug.py P8: Fix pep8 error in cyborg/tests and add post_mortem_debug.py 2019-09-18 16:24:05 +08:00