python-openstackclient/releasenotes/notes/bug-1561599-d5f541f08ae6274a.yaml
David Rosales 337d013c94 Use resource id when name given for identity show
Currently a user is allowed to specify either a resource ID or name
when running openstack identity comands. In some cases, when a name
is specified instead of an ID, the command will return as not able
to find the resource when it in fact does exist.

The changes here are to check the client against the token on such
requests and to extract the ID of the resource specified if enough
information exists between the two. We then use the ID associated
with the resource to complete the user requests.

Change-Id: I40713b0ded42063b786dc21247e854224b9d2fe2
Closes-Bug: #1561599
2016-06-22 21:55:46 -07:00

8 lines
349 B
YAML

---
fixes:
- When performing ``domain show``, ``project show`` or ``user show``, peek
into the user token to determine the ID or the resource (if supplied with
only a name). This should make finding information about the user and
their project easier for non-admin users.
[Bug `1561599 <https://bugs.launchpad.net/bugs/1561599>`_]