Skip to content

User mapping - Add in-app confirmation step

Sam Word requested to merge 461192-user-mapping-in-app-confirmation-step into master

What does this MR do and why?

This MR adds a new show route so that users on a destination instance of GitLab can accept or reject their contribution reassignment invitation instead of accepting or rejecting directly from the email itself.

Screenshots

New in-app confirmation step

image

After clicking Accept reassignment

image

After clicking Reject

image

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

  1. Find or create an Import::SourceUser with reassign_to_user, reassigned_by_user and in :awaiting_approval (1) state
  2. Visit gdk.test:3000/import/source_users/:import_source_user_id
  3. If your source user's reassign_to_user matches you, you should see the show page above. If not, or if the status isn't :awaiting_approval, you will see a 404.

Related to #461192 (closed)

Edited by Sam Word

Merge request reports