Fixed backups GET and DELETE to restrict access to the owner of backup
Fixed the db model find_by so that when a model instance is looked up and a
context is passed in, the find_by operation fails if the tenant_id in the
instance is not the same as the tenant_id in the context (except if the
tenant is an admin).
Reviewed: https:/ /review. openstack. org/32652 github. com/openstack/ trove/commit/ 4cdb10ebb3c52fa a58e4594060480b 252d3d7457
Committed: http://
Submitter: Jenkins
Branch: master
commit 4cdb10ebb3c52fa a58e4594060480b 252d3d7457
Author: Nikhil Manchanda <email address hidden>
Date: Thu Jun 13 23:27:15 2013 -0700
Fixed backups GET and DELETE to restrict access to the owner of backup
Fixed the db model find_by so that when a model instance is looked up and a
context is passed in, the find_by operation fails if the tenant_id in the
instance is not the same as the tenant_id in the context (except if the
tenant is an admin).
Fixed bug 1188822
Change-Id: I0374f999601fa3 f2bc817901bbc42 8b8be219683