Show upstream group-level protected environments in the project-level CI/CD setting page

Release notes

Previously, there was no way to see if there are upstream group-level protected environment settings when viewing a project's configuration settings. In 15.3, you can now see these setting in the project's protected environment configuration settings.

Problem

For the project maintainers, they have no idea whether their projects are affected by group-level protected environments. We should give them visibility that what protected environment rules are coming down from the upstream group/organization.

Proposal

GitLab Premium

See mockup.

Implementation plan

backend

  • Return environments protected by upstream groups (for project-level view)

frontend

  • Add display for environments protected by upstream groups
Edited by Chris Balane