neutron/neutron/conf
Slawek Kaplonski 6d8ada0ac9 [S-RBAC] Allow admin user to do all API requests by default
By default ADMIN user in the new Secure RBAC policies should behave in
the same way as in the legacy rules so basically every API operation for
any project should be allowed for ADMIN user.
In the new rules there are roles like PROJECT_MEMBER and PROJECT_READER
and those personas don't inherits directly from ADMIN which means that
if something is possible to e.g. PROJECT_MEMBER it isn't automatically
also allowed to ADMIN and we need to explicitly allow ADMIN user to do
such requests. It was done like that for many of API calls already but
not for all of them (probably by mistake).

This patch introduces new composite check ADMIN_OR_PROJECT_MEMBER and
uses it in the check strings where ADMIN or PROJECT_MEMBER user is
allowed to use the API.
It also changes some of the check strings which used "policy_or" to
combine ADMIN and PROJECT_MEMBER or PROJECT_READER so that those
composite checks ADMIN_OR_PROJECT_MEMBER and ADMIN_OR_PROJECT_READER are
used everywhere.

Closes-Bug: #1997089

Change-Id: Iab5cd6c7aa07ca8527c5fa8396c9ed0da65b4fa7
2022-11-24 09:17:18 +00:00
..
agent Allow operator to disable usage of random-fully 2022-08-25 16:48:45 -04:00
db [Server Side] L3 router support ndp proxy 2022-02-03 10:07:46 +08:00
extensions Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
plugins Use ovs constants from neutron-lib 2022-06-17 10:36:44 +05:30
policies [S-RBAC] Allow admin user to do all API requests by default 2022-11-24 09:17:18 +00:00
services Deprecate [designate] admin_* parameters 2021-05-11 12:08:42 +09:00
__init__.py Refactoring config options for quota 2016-05-11 09:15:38 -05:00
common.py Script to remove duplicated port bindings 2022-08-18 08:13:56 +00:00
experimental.py Implement experimental features framework 2022-06-30 17:59:49 -05:00
profiling.py Add profiler decorator to Neutron 2019-10-31 10:05:01 -05:00
quota.py [quota] Enable ``DbQuotaDriverNull`` as a production driver 2022-04-05 10:10:46 +00:00
service.py Merge "Add "rpc_response_max_timeout" config variable in OVS agent" 2019-03-01 12:09:18 +00:00
wsgi.py Refactoring config options for wsgi opts 2016-08-03 19:49:58 +00:00