Instantiating a custom template project as admin brings the members of the source project
Summary
Instantiating a custom template project as admin brings the members of the source project
Steps to reproduce
- Setup a custom project template in Admin > Settings > Templates > Custom project templates
- Create a project template within the group set in step 1
- Add a member to that project
- As an admin, try to create a project from that template
What is the current bug behavior?
New project has same users as the old one
What is the expected correct behavior?
No users are carried over
Possible fixes
Perhaps we should add another condition to https://gitlab.com/gitlab-org/gitlab-ee/blob/master/lib/gitlab/import_export/members_mapper.rb#L7 ?