octavia/octavia/api
Gregory Thiemonge 95972fc112 Validate user access to vip_subnet_id when creating a LB
A user was able to create a LB using a vip_subnet_id from another user
(by passing the UUID).
Now, the vip_subnet_id parameter is validated using the user context,
so an error is returned if the subnet doesn't belong to the user.

I479019a911b5a1acfc1951d1cbbc2a351089cb4d was a previous attempt to fix
that bug but vip_subnet_id check was missing.

Story: 2008586
Task: 41741

Depends-On: https://review.opendev.org/774157

Change-Id: I602418264e171a2b1a926eff0b1f9e6dc186295a
(cherry picked from commit 8d86187c0a)
(cherry picked from commit 7d1b81d78f)
(cherry picked from commit 73db7b0762)
2021-05-17 09:12:22 +02:00
..
common Fix API sort key for complex columns 2020-09-02 11:38:34 -07:00
drivers Fix provider driver quota handling 2021-03-15 15:20:53 +01:00
v2 Validate user access to vip_subnet_id when creating a LB 2021-05-17 09:12:22 +02:00
__init__.py Add license for empty __init__.py 2018-03-14 07:02:56 +09:00
app.py Add support for oslo_middleware http_proxy_to_wsgi 2019-07-31 17:10:54 -07:00
config.py Implement provider drivers - Load Balancer 2018-05-22 17:26:08 -07:00
root_controller.py Add new algorithm SOURCE_IP_PORT 2019-09-13 15:19:15 +00:00