diff --git a/templates/api-paste.ini.j2 b/templates/api-paste.ini.j2 index 69a7d6b1..a761f53d 100644 --- a/templates/api-paste.ini.j2 +++ b/templates/api-paste.ini.j2 @@ -47,7 +47,7 @@ paste.filter_factory = osprofiler.web:WsgiMiddleware.factory paste.filter_factory = cinder.api.middleware.auth:NoAuthMiddleware.factory [filter:sizelimit] -paste.filter_factory = cinder.api.middleware.sizelimit:RequestBodySizeLimiter.factory +paste.filter_factory = oslo_middleware.sizelimit:RequestBodySizeLimiter.factory [app:apiv1] paste.app_factory = cinder.api.v1.router:APIRouter.factory diff --git a/templates/policy.json.j2 b/templates/policy.json.j2 index cccd2590..02440a62 100644 --- a/templates/policy.json.j2 +++ b/templates/policy.json.j2 @@ -67,6 +67,7 @@ "volume_extension:volume_manage": "rule:admin_api", "volume_extension:volume_unmanage": "rule:admin_api", + "volume_extension:list_manageable": "rule:admin_api", "volume_extension:capabilities": "rule:admin_api", @@ -94,6 +95,7 @@ "snapshot_extension:snapshot_actions:update_snapshot_status": "", "snapshot_extension:snapshot_manage": "rule:admin_api", "snapshot_extension:snapshot_unmanage": "rule:admin_api", + "snapshot_extension:list_manageable": "rule:admin_api", "consistencygroup:create" : "group:nobody", "consistencygroup:delete": "group:nobody",