ironic-inspector/ironic_inspector/test
Steve Baker c9e312f8b4 Implement secure RBAC
The default policy will been replaced with one which aligns with the
Secure-RBAC scopes and roles. Since ironic-inspector is a tool used only
by system-level admins, only the ``system`` scope is supported, and the
only roles in the policy rules are ``admin`` and ``reader``.

The is_admin and is_observer rules are deprecated for removal, and
every rule which refers to them are deprecated in favor of the
system-scoped equivalent (system_scope:all with role:admin or
role:reader)

No unit tests covered the existing policy, these are now covered by
test_acl.TestACLDeprecated.

Change-Id: I4d038245c6b97b1504fb47eeec78ad3f9e5a897c
2021-02-23 10:24:49 +13:00
..
unit Implement secure RBAC 2021-02-23 10:24:49 +13:00
__init__.py Remove the generic eventlet monkey patch from test 2016-11-18 10:35:53 +01:00
base.py Use autospec=True in mocks 2020-04-22 14:10:53 +02:00
functional.py Merge "Follow up to incorrect pxe-enabled was set" 2020-08-17 14:51:19 +00:00