Skip to content

Display warning when selecting Group template outside of the group

Vasilii Iakliushin requested to merge 208500_group_templates_notice into master

What does this MR do and why?

Contributes to #208500 (closed)

Problem

When user selects a Group template outside of the group page, then we don't know where should we create the new project. By default, we select the template location which is not expected.

Solution

Don't allow to create new projects with Group template if group is not provided.

Screenshots or screen recordings

No group templates Group template exist, from the group Group template exist, outside of group ( New )
Screenshot_2022-04-27_at_18.09.57 Screenshot_2022-04-27_at_18.10.06 Screenshot_2022-04-27_at_18.10.10

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports