Can't create public project from template
Summary
Creating a project from template always creates as a private project.
Steps to reproduce
- Create a new project https://gitlab.com/projects/new
- Select "Create from template" (I've reproduece with both rails and node templates)
- Select "use template"
- Put in a name, and chose "Public" then click on "create project"
- Go to Setting > General and expand Permissions
- The project visibility will be set to Private
Example Project
https://gitlab.com/williamchia/bug-report
What is the current bug behavior?
Project is created as private instead of public
What is the expected correct behavior?
Selecting public would create a public project.
Relevant logs and/or screenshots
see steps to reproduce
Output of checks
This bug happens on GitLab.com
Possible fixes
Maybe here: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/services/projects/create_from_template_service.rb


