Project templates: Enable/disable custom templates
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=23584) </details> <!--IssueSummary end--> ### Problem to solve GitLab introduces custom project templates starting with [11.2](https://gitlab.com/gitlab-org/gitlab-ee/issues/6860), allowing to bootstrap a new project based on prepared configuration and boilerplate code. Since the amount of out-of-box templates and custom templates can become large quite fast, we should implement a way to allow enabling/disabling build-in vendor templates. ### Proposal Let's add the option for Administrators and Group Owners to enable/disable individual built-in templates in the Admin Area (instance-level) and Group settings (groupo-level). select one group in the GitLab instance that holds GitLab projects that are offered as project templates, when creating a new project. ### Designs #### Enable/disable templates **Admin area → Project templates → Built-in templates** | List | Empty | Undefined | |------|-------|-----------| | ![custom-templates](https://gitlab.com/gitlab-org/gitlab-ce/uploads/fc8cd1e48cb10646a44c0d26aad8a797/custom-templates.png) | ![custom-templates--empty](https://gitlab.com/gitlab-org/gitlab-ce/uploads/640946d764209326ab19765f450105e0/custom-templates--empty.png) | ![custom-templates--undefined](https://gitlab.com/gitlab-org/gitlab-ce/uploads/dec01ab6d2c31819bbe710168e32183c/custom-templates--undefined.png) | ### What does success look like, and how can we measure that? * If a custom template is disabled, it does not appear in the "Create new project from template" flow.
issue