python-openstackclient/openstackclient/api
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 Add low-level API base class 2014-09-29 12:32:45 -05:00
api.py Fix missing i18n supports in api/ and shell.py 2016-06-14 11:03:56 -05:00
auth.py Do not prompt for scope options with default scoped tokens 2016-06-17 12:37:15 -04:00
auth_plugin.py Fix missing i18n supports in api/ and shell.py 2016-06-14 11:03:56 -05:00
image_v1.py Don't hack the image url 2015-03-05 20:58:23 -06:00
image_v2.py Trivial: Update image_list v2 docs 2016-03-01 18:48:09 +08:00
object_store_v1.py osc-lib: utils 2016-06-13 10:50:44 -05:00
utils.py Fix typos in docstrings and comments 2016-04-06 10:30:39 +07:00