ironic/ironic/tests/unit/api
Julia Kreger e9dfe5ddaa Port/Portgroup project scoped access
This patch implements the project scoped rbac policies for a
system and project scoped deployment of ironic. Because of the
nature of Ports and Portgroups, along with the subcontroller
resources, this change was a little more invasive than was
originally anticipated. In that process, along with some
discussion in the #openstack-ironic IRC channel, that it
would be most security concious to respond only with 404s if
the user simply does not have access to the underlying node
object.

In essence, their view of the universe has been restricted as
they have less acess rights, and we appropriately enforce that.
Not expecting that, or not conciously being aware of that, can
quickly lead to confusion though. Possibly a day or more of
Julia's life as well, but it comes down to perceptions and
awareness.

Change-Id: I68c5f2bae76ca313ba77285747dc6b1bc8b623b9
2021-03-02 15:45:03 -08:00
..
controllers Port/Portgroup project scoped access 2021-03-02 15:45:03 -08:00
__init__.py Prepare for functional testing 2015-09-28 21:27:01 +00:00
base.py Populate existing policy tests 2021-02-11 10:34:52 -08:00
test_acl.py Port/Portgroup project scoped access 2021-03-02 15:45:03 -08:00
test_acl_basic.yaml Project Scoping Node endpoint 2021-03-02 15:43:29 -08:00
test_audit.py Enforce autospec in some api tests 2020-07-24 23:23:21 +02:00
test_functions.py Add function definition handling 2020-06-02 15:08:53 +12:00
test_healthcheck.py Enforce autospec in some api tests 2020-07-24 23:23:21 +02:00
test_hooks.py Enforce autospec in some api tests 2020-07-24 23:23:21 +02:00
test_method.py Expunge the internal version of WSME 2020-11-19 10:57:11 +13:00
test_middleware.py Enable Basic HTTP authentication middleware 2020-06-05 01:15:08 +12:00
test_ospmiddleware.py Enforce autospec in some api tests 2020-07-24 23:23:21 +02:00
test_proxy_middleware.py Use HTTPProxyToWSGI middleware from oslo 2019-08-02 12:29:37 +00:00
test_rbac_legacy.yaml Port/Portgroup project scoped access 2021-03-02 15:45:03 -08:00
test_rbac_project_scoped.yaml Port/Portgroup project scoped access 2021-03-02 15:45:03 -08:00
test_rbac_system_scoped.yaml Port/Portgroup project scoped access 2021-03-02 15:45:03 -08:00
test_root.py Convert v1 controller to plain, return JSON 2020-07-30 07:37:31 +12:00
utils.py Merge "Add 'deploy steps' parameter for provisioning API" 2021-02-12 16:01:33 +00:00