Makes sure that users can delete only their own images, snapshots.
Enable listing of all images, both private which are owned and the public
ones. Only list the private images/snapshots for the owner and admin users.
Fixes bug 863305
(cherry picked from commit cb37d895a6b97e294aa838f85227d29892f4e11e)
Reviewed: https:/ /review. openstack. org/1132 github. com/openstack/ nova/commit/ c11659215a1cd3e 551ce56f089b268 2842954b04
Committed: http://
Submitter: Jenkins
Branch: stable/diablo
status fixcommitted
done
commit c11659215a1cd3e 551ce56f089b268 2842954b04
Author: Loganathan Parthipan <email address hidden>
Date: Thu Sep 29 16:41:49 2011 +0100
Improve access check on images
Makes sure that users can delete only their own images, snapshots.
Enable listing of all images, both private which are owned and the public
ones. Only list the private images/snapshots for the owner and admin users.
Fixes bug 863305
(cherry picked from commit cb37d895a6b97e2 94aa838f85227d2 9892f4e11e)
Change-Id: Idc15125371950e 0c07b1dac48e8b8 44887fefc9d