Skip to content

Add controllers for user contribution mapping

James Nutt requested to merge jnutt/user-mapping-controllers into master

What does this MR do and why?

This MR implements the assignee-facing controllers described in #443555 (closed).

The proposed flow is that a user receives an email asking for permission to attribute imported contributions within a namespace to them. The email would include an accept/reject link, directing the (signed in) user to one of two controller actions.

The controller then updates the appropriate Import::SourceUser record according to whether the user accepted or rejected the attribution.

This MR is intentionally a partial solution to the linked issue. It does not include any of the group admin facing GraphQL endpoints. This is both to keep this MR manageable, and to reduce the number of cycles needed to make the :improved_user_mapping flag available to the rest of the team working on this feature.

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.

Screenshots or screen recordings

Note that this is placeholder UI for a follow-up MR.

CleanShot_2024-04-25_at_09.14.25_2x

CleanShot_2024-04-25_at_09.14.53_2x

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by James Nutt

Merge request reports