Request: For admins - use API to query admin users
Problem to solve
For admins: Use API to query admin users for auditing purposes
At this time, we're only limited to querying admins through the rails console; which isn't the best solution for this.
API Ref: https://docs.gitlab.com/ee/api/users.html#for-admins
Further details
Currently, the docs and implementation has the following attributes admin users can filter:
- order_by
- sort
- two_factor
(Include use cases, benefits, and/or goals)
Proposal
Allow admins to filter based off admin attribute. Maybe from schema?
What does success look like, and how can we measure that?
For GitLab.com with 1M+ accounts, only admins will be listed.