Custom project templates in Private projects requires specific roles
Summary
The documentation describes as following:
Private projects can be selected only by users who are members of the projects
However, actual behavior is: the user need to have Developer or higher role to use template.
Steps to reproduce
- Set up group-level project templates
- Create a project by user who has Developer or higher role to template → A user can create a project by using template
- Create a project by user who has lower role → A user can not select template
Example Project
-
Group:
-
Template: https://gitlab.com/groups/gitlab-silver/kkamiya-test/template/-/group_members
-
This user can replicate this issue: https://gitlab.com/kkamiya_gl_test
-
This user can create the project by using template: https://gitlab.com/kkamiya_gl
What is the current bug behavior?
- Documentation says: Private projects can be selected only by users who are members of the projects
- Actual behavior: the user need to have Developer or higher role to use template
What is the expected correct behavior?
I can not decide if the documentation is correct (bug) or actual behavior is correct (miss in documentation).
Relevant logs and/or screenshots
These MR may relate to this behavior.
Output of checks
This bug happens on GitLab.com
Results of GitLab environment info
This bug happens on GitLab.com
Results of GitLab application Check
This bug happens on GitLab.com
Possible fixes
Edited by Kosuke Kamiya