]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Pass the correct tenant for the service user
authorZane Bitter <zbitter@redhat.com>
Mon, 22 Oct 2012 09:20:07 +0000 (11:20 +0200)
committerZane Bitter <zbitter@redhat.com>
Mon, 22 Oct 2012 10:25:27 +0000 (12:25 +0200)
commit3bc725b5bd1ec82cc5e307d08803836d83a9e143
tree6c7fa5b1a0bb9f74ccdaa1bd3be0a6edaa6712c0
parentd75075cf35907530f8211d53d89b4ffd186fe251
Pass the correct tenant for the service user

Previously, the service user (which authenticates tokens passes to the
engine by the APIs) was paired with the tenant of the end user to do
authentication, which worked only when they were in the same tenant. This
should not be the case, since the service user should only have an admin
role in the "service" tenant.

Fixes #269

Change-Id: I99b764fc489429dd6d081485bd89d5dde737c124
Signed-off-by: Zane Bitter <zbitter@redhat.com>
heat/common/auth_token.py
heat/common/context.py
heat/engine/resources.py