Feature to allow admins a strict query user information by only complete email or username

Problem to solve

Based on documentation, admins only have the ability to get a user by id GET /users/:id. It would be very useful to get users by other attributes.

For starters:

  • email (Starting here would be amazing!), exact matches
  • username, exact matches

Further details

Use case(s):

  • Automation
    • Compliance auditing
    • Security auditing

Benefit(s):

  • Reduce manual work
  • Improve automation capabilities
  • Reduce custom integrations to overcome simple user query by username or email

Goal(s):

  • Ability to query users by email or username with Admin api

Current (non-ideal) workaround(s):

  • Create a database of users to cross-reference respectively
  • Use: search functionality to search by email and/or username
    • Limitations
      • Output provides limited information
      • Output may return more than one user, not the exact person associated to account

Proposal

What does success look like, and how can we measure that?

  • Ability to query users by email and/or username

Links / references

  • https://docs.gitlab.com/ee/api/users.html#for-admin
Edited Dec 04, 2018 by Antony Saba
Assignee Loading
Time tracking Loading