Merge "Support listing users by group name"
This commit is contained in:
commit
0116f3abc6
@ -214,13 +214,11 @@ class ListUser(lister.Lister):
|
|||||||
domain = common.find_domain(identity_client,
|
domain = common.find_domain(identity_client,
|
||||||
parsed_args.domain).id
|
parsed_args.domain).id
|
||||||
|
|
||||||
|
group = None
|
||||||
if parsed_args.group:
|
if parsed_args.group:
|
||||||
group = utils.find_resource(
|
group = common.find_group(identity_client,
|
||||||
identity_client.groups,
|
parsed_args.group,
|
||||||
parsed_args.group,
|
parsed_args.domain).id
|
||||||
).id
|
|
||||||
else:
|
|
||||||
group = None
|
|
||||||
|
|
||||||
if parsed_args.project:
|
if parsed_args.project:
|
||||||
if domain is not None:
|
if domain is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user