Skip to content

Add mutation to resend placeholder reassign notification

What does this MR do and why?

Add mutation to resend a placeholder reassign notification to the reassigned user.

A rate limit was added to the endpoint to prevent users from being spammed with emails.

Related to: #469665 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

Create an import source user in a awaiting_approval status.

Then use graphql-explorer to send a mutation request

mutation {
  importSourceUserResendNotification(input: { id: "gid://gitlab/Import::SourceUser/ID"}) {
    errors
    importSourceUser {
      status
    }
  }
}
Edited by Rodrigo Tomonari

Merge request reports

Loading