Support include_names argument for keystone role assignement list
This has been supported in the keystone API since version 3.6
Although not used in horizon (yet) some third party plugins may
require this.
Closes-Bug:
@@ -668,7 +668,7 @@ def get_project_groups_roles(request, project):
@profiler.trace
def role_assignments_list(request, project=None, user=None, role=None,
group=None, domain=None, effective=False,
- include_subtree=True):
+ include_subtree=True, include_names=False):
if VERSIONS.active < 3:
raise exceptions.NotAvailable
@@ -679,7 +679,8 @@ def role_assignments_list(request, project=None, user=None, role=None,
return manager.list(project=project, user=user, role=role, group=group,
domain=domain, effective=effective,
- include_subtree=include_subtree)
+ include_subtree=include_subtree,
+ include_names=include_names)
@profiler.trace
