]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Non-admin user to query volume filter by az
authorwanghao <wanghao749@huawei.com>
Sun, 15 Feb 2015 07:40:53 +0000 (15:40 +0800)
committerwanghao <wanghao749@huawei.com>
Tue, 2 Jun 2015 06:12:10 +0000 (06:12 +0000)
commit1d122d8152ac317ef976da6d446e8dd76a84adcd
treeeb06187978cc0617aecf6a8c2100d71af21da346
parent8ae4bdc8f3d04e47a839f8187dbd955ab2528189
Non-admin user to query volume filter by az

Now cinder limits non-admin user to query volume just filtered by 'name',
'status', and 'metadata', those are hard coded in cinder-api. So improve
this using config option and allow non-admin to query volume filtered by
'availability zone'.

DocImpact

Change-Id: Ia4a324959e16d7e6effe7afb18fe57562231d879
Implements: blueprint allow-non-admin-to-query-volume-filter-by-az
cinder/api/v2/volumes.py
cinder/tests/unit/api/v2/test_volumes.py