When creating a trust, send role_ids instead or role_names
This changes create a trust to use ids instead of names because of
the possibility of roles sharing a name. Even if the user
uniquely identified a role by inputting the id, the request sent
to the identity service would used the name, therefore the command
would fail in the case that two roles share a name.
This does not change how trusts are displayed during trust list or
trust show, a name will still be shown instead of an id.
Reviewed: https:/ /review. openstack. org/475068 /git.openstack. org/cgit/ openstack/ python- openstackclient /commit/ ?id=da53c2b3345 7f4f1e93bdda6c0 c16172ea36bc78
Committed: https:/
Submitter: Jenkins
Branch: master
commit da53c2b33457f4f 1e93bdda6c0c161 72ea36bc78
Author: Kristi Nikolla <email address hidden>
Date: Fri Jun 16 15:33:46 2017 -0400
When creating a trust, send role_ids instead or role_names
This changes create a trust to use ids instead of names because of
the possibility of roles sharing a name. Even if the user
uniquely identified a role by inputting the id, the request sent
to the identity service would used the name, therefore the command
would fail in the case that two roles share a name.
This does not change how trusts are displayed during trust list or
trust show, a name will still be shown instead of an id.
Depends-On: I38e0ac35946ee6 e53128babac3ea7 59a380572e0
Change-Id: I5bdf89f1e28895 4a7f5c2704231f2 70bc7d196f5
Closes-Bug: 1696111