Skip to content

Add invite source tracking to member creation

Doug Stull requested to merge 327120-add-invite-source-tracking into master

What does this MR do?

  • Adds an optional invite_source parameter to the members and invitations APIs.
  • Adds tracking based on the invite_source param to the services responsible for adding users to a group or project.
  • Adds some sensible defaults for the invite_source if not provided.
  • Eventually to be leveraged in calls from places like this and this

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

Related to #327120

Edited by Doug Stull

Merge request reports