diff options
| author | Dolph Mathews <dolph.mathews@gmail.com> | 2016-06-15 16:26:35 +0000 |
|---|---|---|
| committer | Steve Martinelli <s.martinelli@gmail.com> | 2016-06-17 12:37:15 -0400 |
| commit | fe0c8e955be0331aef9cc6847c9bddc43ce66d92 (patch) | |
| tree | bb9597a1f0a1417ec5cd19f984c99eeb32f693d8 /openstackclient/common/availability_zone.py | |
| parent | 1464c8a23755f70bb60ed37abe1edf5c7e0b7203 (diff) | |
| download | python-openstackclient-fe0c8e955be0331aef9cc6847c9bddc43ce66d92.tar.gz | |
Do not prompt for scope options with default scoped tokens
This changes the scope validation to occur after a token has already
been created.
Previous flow:
1. Validate authentication options.
2. Validate authorization options if the command requires a scope.
3. Create a token (using authentication + authorization options)
4. Run command.
This means that scope was being checked, even if a default scope was
applied in step 3 by Keystone.
New flow:
1. Validate authentication options.
2. Create token (using authentication + authorization options)
3 Validate authorization options if the command requires a scope and
the token is not scoped.
4. Run command.
Change-Id: Idae368a11249f425b14b891fc68b4176e2b3e981
Closes-Bug: 1592062
Diffstat (limited to 'openstackclient/common/availability_zone.py')
0 files changed, 0 insertions, 0 deletions
