Fix EnvironmentNamesFinder for private projects
When using EnvironmentNamesFinder for a group, environments for private projects are only supposed to be visible to users with reporter access or greater. Previously also guests would be able to see environment names. This fixes https://gitlab.com/gitlab-org/gitlab/-/issues/270939
Showing
Please register or sign in to comment