Custom instance-level project templates do not import protected branches settings
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
When creating a project from custom instance level template the allowed to merge
and allowed to push and merge
settings are not transferred over.
Looks like this should have been solved in: #381404 (closed) but it is still reproducible in v17.
Instance level custom template project settings:
Project created from template settings:
Steps to reproduce
- Create a template project and set it in the
admin > settings > templates > custom project templates
- Set this template project protected branch settings
project > settings > repository > protected branches
to:Allowed to merge
=Developers + Maintainers
andAllowed to push and merge
toDevelopers + Maintainers
- Create project from this template, note that protected branch settings are
Allowed to merge
=Maintainers
andAllowed to push and merge
=Maintainers
Relevant logs and/or screenshots
No relevant logs.
Results of GitLab environment info
GitLab version 17.0.1
Edited by 🤖 GitLab Bot 🤖