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
- Related to #525342 (closed)
- Implementation in Bitbucket Server importer: !198010 (merged)
- Implementation in GitHub importer: !198624 (merged)
- Implementation in Gitea importer: !200716 (merged)
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
- Enable
user_mapping_to_personal_namespace_owner - Navigate to the import project page
http://gdk.test:3000/projects/new#import_project - Pick an importer type, select a project to import, and set your personal namespace as the group to import the project into
- Click "Import"
- 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

