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
..
2016-12-20 09:03:29 +08:00
2016-12-20 09:03:29 +08:00
2017-01-03 12:13:10 +08:00
2016-12-20 09:03:29 +08:00
2016-12-20 09:03:29 +08:00
2016-12-20 09:03:29 +08:00
2017-02-23 12:13:06 +08:00
2016-12-20 09:03:29 +08:00
2016-12-20 09:03:29 +08:00
2017-01-03 12:13:10 +08:00
2016-12-20 09:03:29 +08:00
2016-12-20 09:03:29 +08:00
2017-02-03 13:51:36 -06:00
2016-12-20 09:03:29 +08:00
2016-12-20 09:03:29 +08:00
2016-12-20 09:03:29 +08:00
2016-12-20 09:03:29 +08:00
2016-12-20 09:03:29 +08:00
2016-12-20 09:03:29 +08:00
2016-12-20 09:03:29 +08:00
2017-02-22 17:56:03 +08:00
2016-12-20 09:03:29 +08:00
2016-12-20 09:18:55 +08:00
2017-02-13 15:16:09 +00:00
2016-12-20 09:18:55 +08:00
2016-12-20 09:18:55 +08:00
2016-12-21 10:29:38 +08:00
2016-12-20 09:18:55 +08:00
2016-12-20 09:18:55 +08:00
2016-12-20 09:18:55 +08:00
2016-12-20 09:18:55 +08:00
2017-02-28 21:35:56 +01:00
2016-12-20 09:18:55 +08:00
2016-12-20 09:18:55 +08:00
2016-12-20 09:18:55 +08:00
2016-12-20 09:18:55 +08:00
2017-03-06 08:34:28 +00:00
2017-01-03 12:13:10 +08:00
2016-12-20 09:18:55 +08:00
2016-12-20 09:18:55 +08:00
2017-01-05 22:23:01 -08:00
2017-02-22 15:38:16 -05:00
2017-03-10 21:51:34 +09:00
2017-01-26 10:41:30 -06:00
2017-03-08 05:56:32 +09:00
2016-12-20 09:18:55 +08:00
2017-02-03 13:51:36 -06:00
2017-02-03 13:51:36 -06:00
2016-12-21 09:43:07 +08:00
2016-12-20 09:18:55 +08:00
2017-03-10 21:51:34 +09:00
2016-12-20 09:18:55 +08:00
2016-12-20 09:18:55 +08:00
2016-12-20 09:18:55 +08:00
2016-12-20 09:18:55 +08:00
2017-02-07 19:00:52 -08:00
2017-03-20 14:40:56 +13:00
2016-12-20 09:18:55 +08:00
2016-12-20 09:18:55 +08:00
2016-12-20 09:18:55 +08:00
2016-12-20 09:18:55 +08:00
2016-12-20 09:18:55 +08:00
2016-12-21 22:09:50 +00:00
2016-12-20 09:26:15 +08:00
2016-12-20 09:26:15 +08:00
2016-12-20 09:26:15 +08:00
2017-03-07 15:25:43 +08:00
2016-12-20 09:26:15 +08:00
2016-12-20 09:26:15 +08:00
2017-02-15 14:25:37 +08:00
2016-12-20 09:26:15 +08:00
2017-01-03 12:13:10 +08:00
2016-12-21 10:29:38 +08:00
2016-12-20 09:26:15 +08:00
2017-01-03 12:13:10 +08:00
2016-12-20 09:26:15 +08:00
2016-12-20 09:26:15 +08:00
2016-12-20 09:26:15 +08:00
2016-12-20 09:26:15 +08:00
2017-01-25 22:16:22 +00:00
2017-01-26 19:52:31 +01:00
2016-12-20 09:26:15 +08:00
2016-12-20 09:26:15 +08:00
2017-01-03 12:13:10 +08:00
2017-01-26 06:38:31 +00:00
2016-12-20 09:26:15 +08:00
2017-01-14 21:58:33 +08:00
2017-02-23 21:49:11 +08:00