python-openstackclient/openstackclient/common
Dolph Mathews fe0c8e955b 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
2016-06-17 12:37:15 -04:00
..
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
availability_zone.py osc-lib: command 2016-06-13 11:00:22 -05:00
clientmanager.py Do not prompt for scope options with default scoped tokens 2016-06-17 12:37:15 -04:00
command.py Finish osc-lib transition for command.py 2016-06-15 22:50:43 +00:00
commandmanager.py Fix dict.keys() compatibility for python 3 2016-03-12 10:58:28 +08:00
configuration.py osc-lib: command 2016-06-13 11:00:22 -05:00
exceptions.py Use osc-lib and set up deprecation warnings 2016-06-10 08:35:54 -05:00
extension.py osc-lib: command 2016-06-13 11:00:22 -05:00
limits.py osc-lib: command 2016-06-13 11:00:22 -05:00
logs.py osc-lib: logs 2016-06-13 10:55:44 -05:00
module.py osc-lib: command 2016-06-13 11:00:22 -05:00
parseractions.py osc-lib: parseractions 2016-06-13 10:55:44 -05:00
quota.py osc-lib: command 2016-06-13 11:00:22 -05:00
session.py Switch to ksa Session 2015-12-02 01:55:14 +00:00
timing.py osc-lib: timing 2016-06-13 11:08:21 -05:00
utils.py Use osc-lib and set up deprecation warnings 2016-06-10 08:35:54 -05:00