Merge "Use _get_token_resource in role assignment list"
This commit is contained in:
commit
4a27f51446
@ -128,7 +128,8 @@ class ListRoleAssignment(command.Lister):
|
||||
if parsed_args.project:
|
||||
project = common.find_project(
|
||||
identity_client,
|
||||
parsed_args.project,
|
||||
common._get_token_resource(identity_client, 'project',
|
||||
parsed_args.project),
|
||||
parsed_args.project_domain,
|
||||
)
|
||||
elif parsed_args.authproject:
|
||||
|
6
releasenotes/notes/bug-1658189-d2b390ad74c96c79.yaml
Normal file
6
releasenotes/notes/bug-1658189-d2b390ad74c96c79.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Make ``role assignment list`` callable without administrator permissions
|
||||
if restricted to own project with ``--project`` parameter.
|
||||
[Bug `1658189 <https://bugs.launchpad.net/python-openstackclient/+bug/1658189>`_]
|
Loading…
x
Reference in New Issue
Block a user