summaryrefslogtreecommitdiff
path: root/openstackclient/network
diff options
context:
space:
mode:
authorNathan Kinder <nkinder@redhat.com>2014-10-07 16:30:56 -0700
committerNathan Kinder <nkinder@redhat.com>2014-10-09 13:29:21 -0700
commitf0c57e17c9a4b5bbe2f072a4eacefce3bcf30d45 (patch)
tree7a7c7f92ab7ac8731a717a001f596c7e34d577c6 /openstackclient/network
parent364071a90bfe9dcec1d02a349c33dc8422fc14f3 (diff)
downloadpython-openstackclient-f0c57e17c9a4b5bbe2f072a4eacefce3bcf30d45.tar.gz
Allow --domain to be used for identity commands without lookup
Performing create, list, or set operations for users, groups, and projects with the --domain option attempts to look up the domain for name to ID conversion. In the case of an environment using Keystone domains, it is desired to allow a domain admin to perform these operations for objects in their domain without allowing them to list or show domains. The current behavior prevents the domain admin from performing these operations since they will be forbidden to perform the underlying list_domains operation. This patch makes the domain lookup error a soft failure, and falls back to using the passed in domain argument directly as a domain ID in the request that it sends to Keystone. Change-Id: I5139097f8cedc53693f6f71297518917ac72e50a Closes-Bug: #1378565
Diffstat (limited to 'openstackclient/network')
0 files changed, 0 insertions, 0 deletions