-
Notifications
You must be signed in to change notification settings - Fork 54
Show_project? #949
Comments
Currently we have:
The only thing we don't have is That would cover everything we need to know about a project. Show_project could also be just a cli command that makes these 4 calls to get all the information. |
My instinct is to keep this out of the server, since as you point out it can be implemented on top of the existing calls. |
sounds good, so we need a @zenhack does that make sense? If I understand what you mean by "keep this out of the server", we don't need a |
We can build |
while we are on the topic, should we update Right now a regular user can't see what projects they have access to. This was brought up by @pns005 |
so modify the call, when an admin calls it, it shows projects and all users in those projects. For a regular user, only show project that the user has the access to? For admin-user regular-user: |
it only lists projects right now and not the users assigned to it. And I am okay with it because one could just list_users and grep for the project. The only update I would like to see is that non-admin users can at least see the projects they have access to. |
The more I think about it the less comfortable I am adding calls that have different behavior based on the identity of the caller (besides just allow/deny). I worry it makes use of the API less predictable. I'm also against adding too many calls that are specific to this auth backend; I'd like the API usage to as much as possible be independent of how we authenticated. |
That's a good point. But what do we do about regular users not being able to see what projects they are a part of? |
We could have a "show_user":
...but it doesn't nicely fit into the current authorization framework (which is based on project access), which I'm not happy about. Will keep thinking. |
#722 Loop in this issue |
Keystone already has an API https://developer.openstack.org/api-ref/identity/v3/#get-available-project-scopes We have to think of a way to implement this in our db backend. |
Currently, we don't have a CLI that allows an admin to see who is in which project(s). Should we create a new API and CLI to support this feature?
Any idea is more than welcome!
The text was updated successfully, but these errors were encountered: