Add user_id when calling populate_roles_for_groups
The call to _populate_roles_for_groups was missing the user_id, and was always defaulted to None. closes bug: #1294781 Change-Id: Ic78c66a1cbd0a32630f7247f0176ced2de352921
This commit is contained in:
parent
a1dc3ad5c8
commit
9508bba042
|
@ -500,7 +500,7 @@ class BaseProvider(provider.Provider):
|
|||
|
||||
if project_id or domain_id:
|
||||
roles = self.v3_token_data_helper._populate_roles_for_groups(
|
||||
group_ids, project_id, domain_id)
|
||||
group_ids, project_id, domain_id, user_id)
|
||||
token_data.update({'roles': roles})
|
||||
else:
|
||||
idp = auth_context[federation.IDENTITY_PROVIDER]
|
||||
|
|
Loading…
Reference in New Issue