Skip to content

Revert dropdown changes

Jerry Seto requested to merge revert-345140 into master

What does this MR do and why?

Revert 3b396c74 and 98db33ec

It changed the request for groups to include groups that do not work with protected refs and protected environments.

Related to: #427486 (closed)

How to set up and validate locally

Protected Branches and Tags

  1. Create a group
  2. Create project namespaced by group
  3. Invite a different group to the project
  4. Try to create a protected branch and tag and see that only the invited group is in the dropdown (Settings -> Repository)
  5. Try to edit a protected branch and tag and see that only the invited group is in the dropdown

Protected Environments

  1. Create an environment for the project
  2. Try create a protected environment and see that only the invited group is in the dropdown (Settings -> CI/CD)

MR acceptance checklist

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

Edited by Jerry Seto

Merge request reports