Slawek Kaplonski 61b358b6b5 [S-RBAC] Add API policies for get and activate port bindings
There wasn't policies for get port binding and activate port binding API
calls defined at all.
When we switched to new default policies and regular user wanted to make
call to activate port binding, it was error 500 what we returned instead
of proper 4xx error. It was like that as "get_port_binding" call which
was done internally during "activate" API request falled back to the
default policy which is "admin_or_owner" and as port binding resource
don't have project_id, owner couldn't be checked there.

Now it has defined S-RBAC policies for those API calls and it is allowed
for admin users only to solve that problem.
This patch don't define old, deprecated policies for those API calls as
it wasn't really needed there and we already switched to new policies by
default now.

Closes-Bug: #2013326
Change-Id: Id281e4950dc5d7bac62dfa8175d82cb1f8d2e855
2023-05-29 16:29:58 +02:00
2016-06-28 22:46:19 +02:00
2023-05-17 18:52:25 -05:00
2023-02-28 18:06:17 +09:00
2022-12-10 20:43:54 +01:00
2023-04-13 13:38:39 +00:00
2016-10-17 17:06:19 +05:30
2019-04-19 19:38:27 +00:00
2014-05-16 13:40:04 -04:00
2023-05-17 23:04:24 -04:00
2023-03-28 06:59:20 +00:00
2023-05-22 13:29:49 +00:00
2017-03-04 11:19:58 +00:00
2023-05-17 23:04:24 -04:00

OpenStack Neutron

image

Neutron is an OpenStack project to provide "network connectivity as a service" between interface devices (e.g., vNICs) managed by other OpenStack services (e.g., Nova).

To learn more about neutron:

If you would like to contribute to Neutron, please read the file CONTRIBUTING.rst or see the Neutron contributor guide:

https://docs.openstack.org/neutron/latest/contributor/contributing.html

Get in touch via email. Use [Neutron] in your subject.

Description
OpenStack Networking (Neutron)
Readme 1,021 MiB
Languages
Python 99.7%
Shell 0.3%