summaryrefslogtreecommitdiff
path: root/openstackclient/tests
diff options
context:
space:
mode:
authorHongbin Lu <hongbin.lu@huawei.com>2017-01-23 00:04:02 -0600
committerSteve Martinelli <s.martinelli@gmail.com>2017-01-24 01:50:36 +0000
commit5cf77bb672eeb28327cac8bc0a8227c8b7137819 (patch)
treeaea004129dfdb73015f128687f8e99e354a8e80f /openstackclient/tests
parent607f31d3db924517c18fd192239e5ef5963e17f3 (diff)
downloadpython-openstackclient-5cf77bb672eeb28327cac8bc0a8227c8b7137819.tar.gz
Handle 403 error on creating trust
Currently, creating trust requires permission to list roles, but non-admin users don't have permission to do that by default. This commit adds exception handling on listing roles, and continue to create trust if server returns 403. Closes-Bug: #1658582 Change-Id: I4f016b76cb46ae07ef65ed54780881bbcd6210d3
Diffstat (limited to 'openstackclient/tests')
0 files changed, 0 insertions, 0 deletions