python-openstackclient/openstackclient/identity/v3
adrian-turjak 49f6032b69 Non-Admin can't list own projects
Due to a default Keystone policy until Newtown,
and the use of resource_find, non-admins are unable
to list their own projects.

This patch bypasses this problem while also introducing better
UX for non-admins wishing to get their project list.

'openstack project list' retains the default of 'list all projects'
but on a forbidden error will default instead to 'list my projects'.
This way for non-admins 'list my projects' feels like the default
without breaking the expected admin default.

Adding the '--my-projects' option allows admins to easily list their
own projects or allows non-admins to be explicit and bypass the
forbidden error fallback.

Change-Id: I1021276f69fbbf28e13e17c4e567d932fce7ed8b
Closes-Bug: #1627555
2017-03-20 14:40:56 +13:00
..
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
catalog.py translate all command help strings 2016-11-17 02:33:42 +00:00
consumer.py Handle log message interpolation by the logger in identity/ 2017-02-13 17:38:30 +01:00
credential.py Handle log message interpolation by the logger in identity/ 2017-02-13 17:38:30 +01:00
domain.py Handle log message interpolation by the logger in identity/ 2017-02-13 17:38:30 +01:00
ec2creds.py Handle log message interpolation by the logger in identity/ 2017-02-13 17:38:30 +01:00
endpoint.py Fix "endpoint list" help message 2017-02-22 17:56:03 +08:00
federation_protocol.py Handle log message interpolation by the logger in identity/ 2017-02-13 17:38:30 +01:00
group.py Narrow expected responses for CheckUserInGroup 2017-03-14 09:23:19 +01:00
identity_provider.py Handle log message interpolation by the logger in identity/ 2017-02-13 17:38:30 +01:00
mapping.py Handle log message interpolation by the logger in identity/ 2017-02-13 17:38:30 +01:00
policy.py Handle log message interpolation by the logger in identity/ 2017-02-13 17:38:30 +01:00
project.py Non-Admin can't list own projects 2017-03-20 14:40:56 +13:00
region.py Handle log message interpolation by the logger in identity/ 2017-02-13 17:38:30 +01:00
role_assignment.py translate all command help strings 2016-11-17 02:33:42 +00:00
role.py Modify error handling for role and group commands 2017-02-09 19:49:55 +08:00
service_provider.py Handle log message interpolation by the logger in identity/ 2017-02-13 17:38:30 +01:00
service.py Handle log message interpolation by the logger in identity/ 2017-02-13 17:38:30 +01:00
token.py TrivialFix in helpMessage for readability 2016-11-23 02:58:26 +08:00
trust.py Handle 403 error on creating trust 2017-01-24 01:50:36 +00:00
unscoped_saml.py Remove auth_with_unscoped_saml decorator 2016-12-04 18:59:09 +00:00
user.py Adds domain specification for SetUser 2017-01-25 22:16:22 +00:00