Skip to content

Expose provisioned by group id in API

Cynthia "Arty" Ng requested to merge spt-3486 into master

What does this MR do?

Expose provisioned_by_group_id in users endpoint when user is admin.

% curl --header "PRIVATE-TOKEN: $TOKEN" "https://gdk.test:3443/api/v4/users/97" | json_pp
{
   ...
   "provisioned_by_group_id":108
}

Required for gitlab-com/support/support-team-meta#3486 (closed)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Cynthia "Arty" Ng

Merge request reports