ironic/ironic/tests/unit
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
..
api Port/Portgroup project scoped access 2021-03-02 15:45:03 -08:00
cmd Switch to unittest mock 2020-04-30 19:04:17 +02:00
common Replace pysendfile with os.sendfile 2021-02-18 10:16:57 +01:00
conductor [Trivial] Fix testing of volume connector exception 2021-02-26 15:14:23 +01:00
conf Switch Ironic to openstacksdk for Neutron 2020-08-19 10:48:17 +02:00
db Register all hardware_interfaces together 2021-01-08 15:16:53 +00:00
dhcp Add both IPv4 and IPv6 DHCP options if interface has both 2021-02-26 23:39:44 +00:00
drivers Merge "Add support to manage certificates in iLO" 2021-03-01 17:47:00 +00:00
objects Port/Portgroup project scoped access 2021-03-02 15:45:03 -08:00
__init__.py Add my new address to .mailmap 2020-04-13 07:29:37 -07:00
policy_fixture.py Add my new address to .mailmap 2020-04-13 07:29:37 -07:00
raid_constants.py Allow specifying target devices for software RAID 2020-03-17 14:31:38 +01:00
stubs.py Switch Ironic to openstacksdk for Neutron 2020-08-19 10:48:17 +02:00
test_base.py Fix pep8 2020-05-12 15:37:38 +02:00