Return a user's instance access level in API payload

Release notes

Allow GitLab administrators to see via the API results whether a user has the instance access level of Regular, Auditor, or Admin to be able to keep track of which users have which access levels programmatically.

Problem to solve

As a GitLab system admin, I want to be able to see all of the Auditor users via the API, so that I can track this information through my external user management tools.

Intended users

User experience goal

The user should be able to use the GitLab API to get a list of Auditor users, and see in a user's details what their instance access level is.

Proposal

Add the user's instance access level to the API response payload.

Further details

Permissions and Security

Documentation

Availability & Testing

Available Tier

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

What is the type of buyer?

Is this a cross-stage feature?

Links / references