Glance Auth Token Middleware fix

Change-Id: I0f40be0db986c0e032cb10627e440ab51fbc1af0
This commit is contained in:
Brian Waldon 2011-09-14 16:01:16 -04:00
parent 8dbcd371a0
commit e0b135ccdb
1 changed files with 5 additions and 1 deletions

View File

@ -58,7 +58,11 @@ class KeystoneContextMiddleware(context.ContextMiddleware):
is_admin = 'Admin' in roles
# Construct the context
req.context = self.make_context(auth_tok, user, tenant, is_admin)
req.context = self.make_context(auth_tok=auth_tok,
user=user,
tenant=tenant,
roles=roles,
is_admin=is_admin)
def filter_factory(global_conf, **local_conf):