diff options
author | Zuul <zuul@review.opendev.org> | 2022-02-23 15:40:46 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2022-02-23 15:40:46 +0000 |
commit | 5b89039e9e51a429c6894e2b8791a3ee4fc338cd (patch) | |
tree | 10a8c3cb7679dd9074f96c85688fda8c4776457e /etc | |
parent | 627d117fabe79f683893296f1a571934a67865a2 (diff) | |
parent | 31b34e91e0fe1fdc813a09b3c46a880b8d0e571f (diff) | |
download | cinder-5b89039e9e51a429c6894e2b8791a3ee4fc338cd.tar.gz |
Merge "Remove the need for project_id from API endpoints"
Diffstat (limited to 'etc')
-rw-r--r-- | etc/cinder/api-paste.ini | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/cinder/api-paste.ini b/etc/cinder/api-paste.ini index 3fbe21b4e..ce2e0ea98 100644 --- a/etc/cinder/api-paste.ini +++ b/etc/cinder/api-paste.ini @@ -11,6 +11,7 @@ use = call:cinder.api:root_app_factory [composite:openstack_volume_api_v3] use = call:cinder.api.middleware.auth:pipeline_factory noauth = cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler noauth apiv3 +noauth_include_project_id = cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler noauth_include_project_id apiv3 keystone = cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler authtoken keystonecontext apiv3 keystone_nolimit = cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler authtoken keystonecontext apiv3 @@ -33,6 +34,9 @@ paste.filter_factory = osprofiler.web:WsgiMiddleware.factory [filter:noauth] paste.filter_factory = cinder.api.middleware.auth:NoAuthMiddleware.factory +[filter:noauth_include_project_id] +paste.filter_factory = cinder.api.middleware.auth:NoAuthMiddlewareIncludeProjectID.factory + [filter:sizelimit] paste.filter_factory = oslo_middleware.sizelimit:RequestBodySizeLimiter.factory |