[go: up one dir, main page]

Allow a template in a namespace which is out of the hierarchy of the Group owning the template

Problem to solve

We have a Group with several subgroups. One of the subgroups contains only our templates.

The structure of our group looks something like this

  • Group
    • Subgroup A
      • App A
      • App B
    • Subgroup B
      • App C
      • App D
    • Templates
      • App T

In the settings of Group I set Group/Templates as the custom project templates group.

Now if I want to create a new project in Group/Subgroup A which uses a template from Group/Templates I get the following error

The form contains the following error: Namespace is out of the hierarchy of the Group owning the template

This used to work, but since today (probably earlier) I am getting this error message.

Target audience

Probably this one

Further details

The use case should be straight forward. We have a template (maybe more in the future) which should be available in each subgroup. To keep things clean we don't want to put the template repositories directly in the top level group but leave them in a separate group.

Also I don't get the point of the error. Right now I can only create the new project in the template subgroup and then transfer it manually to the desired subgroup. If you allow moving a repository between two subgroups, then you should also allow creating a repo in one subgroup using a template repo from a different subgroup (of course all within the same group).

Proposal

Restore the old behaviour where templates from a subgroup can be used in other subgroups of the same group.