Don't drop the volume type's extra spec at DB layer
Now the volume type's extra spec will be always dropped at
DB layer if the request is non admin. But this behavior is
controled by policy. We should return the extra specs to API and
let the policy check to decide whether drop it or not.
Reviewed: https:/ /review. openstack. org/409030 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=38434795445 270efdbec9c0471 e36498fc1045ca
Committed: https:/
Submitter: Jenkins
Branch: master
commit 38434795445270e fdbec9c0471e364 98fc1045ca
Author: wangxiyuan <email address hidden>
Date: Fri Dec 9 15:40:38 2016 +0800
Don't drop the volume type's extra spec at DB layer
Now the volume type's extra spec will be always dropped at
DB layer if the request is non admin. But this behavior is
controled by policy. We should return the extra specs to API and
let the policy check to decide whether drop it or not.
Change-Id: I1130a53a02da7a a4b8eb058718633 1166d2b9bc1
Closes-bug: #1648717