Glance Auth Token Middleware fix
Change-Id: I0f40be0db986c0e032cb10627e440ab51fbc1af0
This commit is contained in:
parent
8dbcd371a0
commit
e0b135ccdb
|
@ -58,7 +58,11 @@ class KeystoneContextMiddleware(context.ContextMiddleware):
|
||||||
is_admin = 'Admin' in roles
|
is_admin = 'Admin' in roles
|
||||||
|
|
||||||
# Construct the context
|
# 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):
|
def filter_factory(global_conf, **local_conf):
|
||||||
|
|
Loading…
Reference in New Issue