Skip to content

Make username update fail if namespace update fails

username-removed-1144264 requested to merge mk-fix-user-namespace-rename into master

What does this MR do?

Helps preserve integrity of user username == namespace name/path. Does not allow username renames to save if the namespace name and path renames fail (e.g. if a group exists with that name).

Why was this MR needed?

https://gitlab.com/gitlab-com/support-forum/issues/2316

Screenshots (if relevant)

Screen_Shot_2017-08-18_at_10.33.54_AM

(Instead of success message, and having the username diverge from the namespace name/path)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Fixes https://gitlab.com/gitlab-com/support-forum/issues/2316

Edited by username-removed-1144264

Merge request reports