]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix for showing default quotas to non-admin user
authorSzymon Borkowski <szymon.borkowski@intel.com>
Fri, 11 Dec 2015 11:20:03 +0000 (12:20 +0100)
committerSzymon Borkowski <szymon.borkowski@intel.com>
Fri, 11 Dec 2015 11:33:01 +0000 (12:33 +0100)
commitef0bfc288d6513a868e0e25b1f7effd13fccb754
treebf10e3ae56adb5c3cdd56f8ee17e13e8757a90e2
parent7b15095907a6acc0db238cdeae8f0ea9868e391b
Fix for showing default quotas to non-admin user

Earlier, when non-admin user wanted to get quotas for his own
projects, if there were no custom quota values set, the API
used to return zero values.

Change-Id: I753af89aa5aae5ad20abe48441df3dbd02b8e05e
Closes-Bug: 1523928
cinder/api/contrib/quotas.py
cinder/tests/unit/api/contrib/test_quotas.py