python-troveclient/releasenotes/notes/fix_admin_keystoneauth1-ed534462434.yaml
Peter Stachowski fb4064d39e Fix module-list
Under a keystone V3 scenario, the CLI command for
module-list will fail as it tried to determine whether
to display the 'visible' and 'tenant' fields (which only
make sense to show to an admin).

Keystone V3 stores the role information (used to find
out if the user has admin access) in a different
place than V2.  This fix uses a keystoneauth1 property
to have the value determined correctly internally,
so trove doesn't have to worry about it.

The logic was also moved to the utils module to
faciliate reuse.

Closes-Bug: #1622019
Change-Id: I6dbc3660b507017f85d06bde2903f4d2334fea35
2016-12-22 08:08:16 -08:00

6 lines
189 B
YAML

---
fixes:
- Having the CLI command display non-redundant information
for module-list when invoked with admin privileges now
works with both keystone V2 and V3. Bug 1622019