]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Cinder wasn't filtering the backups returned to backup list API
authorMichael Kerrin <michael.kerrin@hp.com>
Tue, 16 Apr 2013 08:09:35 +0000 (08:09 +0000)
committerMichael Kerrin <michael.kerrin@hp.com>
Wed, 17 Apr 2013 09:50:26 +0000 (09:50 +0000)
commit8f045d2dd2cb84099dd54701e9d27b12a779e191
tree407a84b3157ffe56b64929d94836db6b40b20363
parent8e1978932d50015b988927f4d8ae39f72c227fc2
Cinder wasn't filtering the backups returned to backup list API

This has the side effect of return all backups in the system (regardless of
who created them) to the user. You should only see the backups created in your
current active project.

Fixes bug: 1169461

Change-Id: I121e8ed215b28f1b21e24b2104f8294039e09b48
cinder/db/sqlalchemy/api.py
cinder/tests/test_backup.py