importer: unable to map your own user

it seems to me that all users but current user running the import are added to project members, then importer is ran, and the current user is added to project. this results current user being imported with supplementary comment (#36338 (moved)).

i've come to such conclusion comparing "joined date" of project members.

expected outcome is import without "By Administrator"... because "root" user is member of the project and present in target gitlab.

workaround: run import with user which is not present in export.json but still is an admin.


import ran as root user:

image

project members view:

image


the same import tar.gz ran as glen user:

image

project members view:

image


Edited by Elan Ruusamäe