neutron/neutron/conf
Slawek Kaplonski 6e3525188f [S-RBAC] Fix policies for CUD subnets APIs
In new, secure RBAC policies for create subnet there was
rule "ADMIN_OR_PROJECT_MEMBER" used and that was wrong as this rule is
basically allows any member (PROJECT_MEMBER) create subnet in networks
visible to them, not necessarily this project needs to be owner of that
network. So it allowed users to create new subnets in the shared or
provider networks as well.
Now policy for create subnet is ADMIN OR NET_OWNER_MEMBER to avoid that.

Additionally this patch also fixes policies for update and delete subnet
APIs where there was rule NET_OWNER used and that effectively allowed to
update or delete subnet to the network owner who has READER role only.
Now this is also fixed by using NET_OWNER_MEMBER rule instead.

Closes-Bug: #2023679

Change-Id: Ia494872b58f368581fb29fa40b7da17e1071db22
2023-06-21 09:52:39 +00:00
..
agent Add rate-limiting to metadata agents 2023-05-17 18:52:25 -05:00
db Fix a number of configuration typos 2023-03-22 18:35:43 -04:00
extensions Fix a number of configuration typos 2023-03-22 18:35:43 -04:00
plugins Merge "Add host metadata haproxy manager" 2023-05-15 17:37:10 +00:00
policies [S-RBAC] Fix policies for CUD subnets APIs 2023-06-21 09:52:39 +00:00
services Fix a number of configuration typos 2023-03-22 18:35:43 -04:00
__init__.py Refactoring config options for quota 2016-05-11 09:15:38 -05:00
common.py Merge "Add new DEFAULT option named "my_ip"" 2023-06-08 12:53:23 +00:00
experimental.py Mark "ipv6_pd_enabled" as deprecated and experimental. 2023-05-09 11:06:24 +00:00
profiling.py Add profiler decorator to Neutron 2019-10-31 10:05:01 -05:00
quota.py Fix a number of configuration typos 2023-03-22 18:35:43 -04:00
service.py Fix a number of configuration typos 2023-03-22 18:35:43 -04:00
wsgi.py Refactoring config options for wsgi opts 2016-08-03 19:49:58 +00:00