List projects for user
Bug #1680063 reported by
Valery Tschopp
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack SDK |
Fix Released
|
High
|
Hunt Xu |
Bug Description
The Identity API v3 'List projects for user' is not implemented.
Please add it in the identity.v3.Proxy class
Changed in python-openstacksdk: | |
assignee: | nobody → Hunt Xu (huntxu) |
To post a comment you must log in.
There's a couple of ways we could do this. Since it's a compound resource crossing both users and projects, it could logically go in two places within our Proxy API, either with users or projects.
It might make sense to have this appear like user_id is a query param on /projects and have a projects(user_id=1) method.
However, we might need to do it as something like user_projects( user_id= 1) to keep consistent with how we've done other similar behaviors, also depending on how this cross-resource behavior will be to maintain.
I like projects(user_id=1) a lot better as it looks really clean and obvious, and we don't need application developers to be hung up on where things are within the actual REST API if we can make that easier.