Skip to content

Fix import behavior and specs on conflicting namespaces

What does this MR do?

Fix import behavior and specs on conflicting namespaces

Are there points in the code the reviewer needs to double check?

Well, since the spec examples didn't correctly describe the behavior, make sure that the new behavior is the actually intended one.

Why was this MR needed?

The specs specify that in the case of conflicting namespaces on an import, if the existing namespace is not owned by current_user, the project will be created in that user's namespace instead. This change correctly implements that behvaior and fixes the spec examples to test it properly.

Screenshots

Now, as specified by the specs, if you attempt to import into a namespace you don't own, the project will be imported into your personal namespace instead.

Captura_de_pantalla_2016-10-27_a_las_11.59.14_p.m.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #23932 (moved)

Merge request reports

Loading