[go: up one dir, main page]

Skip to content

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

  1. Setup a custom project template in Admin > Settings > Templates > Custom project templates
  2. Create a project template within the group set in step 1
  3. Add a member to that project
  4. 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 ?