joyent / conch-api

Datacenter build and management service
Mozilla Public License 2.0
22 stars 11 forks source link

GET /organization(/:id) should return all users #898

Closed karenetheridge closed 5 years ago

karenetheridge commented 5 years ago

Instead of just listing the admins for the org(s), let's just list all users and their roles.

karenetheridge commented 5 years ago

this also means that GET /organization/*/users is redundant and can be removed.

karenetheridge commented 5 years ago

I won't do the same thing for builds, because getting information about orgs is an admin level endpoint and getting information about builds only requires 'ro' on the build (and an integrator might well be getting info about a build).