Skip to content

Update UI warning when importing to personal namespace

What does this MR do and why?

This MR updates the warning that users see in the UI when importing into a personal namespace to let them know that all user contributions will be mapped to the namespace owner. It used to say that all contributions are mapped to the import user, but that's no longer the case as of #525342 (closed).

This message is only shown when user_mapping_to_personal_namespace_owner since contributions are only assigned to the personal namespace owner when it's enabled.

References

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Enable user_mapping_to_personal_namespace_owner
  2. Navigate to the import project page http://gdk.test:3000/projects/new#import_project
  3. Pick an importer type, select a project to import, and set your personal namespace as the group to import the project into
  4. Click "Import"
  5. See that the new message is displayed in the modal. The import doesn't need to begin to see the change.

MR acceptance checklist

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

Related to #525342 (closed)

Edited by Sam Word

Merge request reports

Loading