Change transfer group confirmation to use full path instead of name

What does this MR do and why?

Related to #384244 (closed)

Group names can have spaces in them but when they are displayed in the UI the spaces are stripped out. This causes confusion when transferring a group because you have to type the group name to confirm but if it has spaces it won't match (see videos below). To solve this we decided to switch to using the full group path instead of group name. The group path will never have spaces so that should no longer be an issue. It is also consistent with the confirmation when removing a group.

Screenshots or screen recordings

Before After
Screen_Recording_2023-01-31_at_1.43.20_PM Screen_Recording_2023-01-31_at_1.44.12_PM

How to set up and validate locally

  1. Go to a group -> Settings -> General -> Advanced
  2. Choose a parent group in the Transfer group section
  3. Type the group full path to confirm transferring

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Hegman

Merge request reports

Loading