Actions
Bug #7376
openusers api returns admins when organization_id param specified
Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Description
When querying the API with the following, admin users are returned in addition to the users that have explicitly been associated with the organization.
http://localhost:3000/api/v2/users?organization_id=14
The UI correctly excludes the admin users when the search field has "organization_id = 14".
While I believe that passing the search string to the api would (probably) work, specifying the organization_id param should yield the same results.
Actions