]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Make the describe-resource API calls user-aware
authorTomas Sedovic <tomas@sedovic.cz>
Tue, 19 Jun 2012 12:54:27 +0000 (14:54 +0200)
committerTomas Sedovic <tomas@sedovic.cz>
Wed, 20 Jun 2012 15:40:38 +0000 (17:40 +0200)
commit970c333d4e13685f025c4dc27ae7df9807d6c309
tree2ab007e7736968d17145eaa894b904b3d00c1865
parentd5d13120e44c2f4debec7dabd0cc5e43e41ba11a
Make the describe-resource API calls user-aware

Fixes #143

The stack retrieval DB calls were already fixed in previous commits but
there was still one query (resource_get_by_physical_resource_id) that
would return any resource, not just the ones owned the user.

Change-Id: Ie02ff1e8ba6ea8da2c3d0c7f0a87c32452824fc6
heat/db/sqlalchemy/api.py