Skip to content

Request invited groups with new parameter for access dropdowns

What does this MR do and why?

Request group endpoint from access dropdowns with with_project_access parameter in order to show allow invited groups (including private groups)

See !140927 (merged) for additional context

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
protected_tag_before protected_tag_after
protected_branch_before protected_branch_after
protected_environment_before protected_environment_after

How to set up and validate locally

  1. Create a project
  2. Invite a private group to the project
  3. Enable the allow_members_to_see_invited_groups_in_access_dropdowns feature flag
  4. As a non-admin maintainer of the project try to:
  • create/edit a protected branch with the private group allowed to push/merge
  • create/edit a protected tag with the private group allowed to create
  • create/edit a protected environment with the private group allowed to deploy

Related to #345140 (closed)

Edited by Jerry Seto

Merge request reports

Loading