Importing a private Project from a group with a plan into No plan group fails due to protected ref access levels
Summary
Importing a Project from a group with a plan into No plan group fails due to protected ref access levels
Steps to reproduce
- Create a new private group,
PlanGroup - Promote
PlanGroupto have a plan - Create a new private group,
NoPlanGroup - Create a new private project
project-to-exportinPlanGroup - Export
project-to-export - Create a new project in
NoPlanGroupby importingproject-to-exportarchive
Example Project
https://gitlab.com/no-plan-group/project-for-import/import/new
What is the current bug behavior?
Error importing repository into no-plan-group/project-for-import - Failed to replace protected_branches because one or more of the new records could not be saved. Merge access levels group must be blank Push access levels group must be blank
What is the expected correct behavior?
Project should be imported
Relevant logs and/or screenshots
N/A
Output of checks
Results of GitLab environment info
reproduced on GitLab.com v10.7.2-ee