Skip to content

Resolve "404 when trying to create a new issue from the group"

What does this MR do?

Adds a filter with_issues_enabled and with_merge_requests_enabled to the groups/projects API endpoint in order to hide projects with these items disabled on the "Issues" and "Merge Requests" group pages.

This MR is based !11754 (merged)

Are there points in the code the reviewer needs to double check?

I hope the test case are sufficient, otherwise I can add more.

I am not quite sure, if filtering should happen in find_group_projects or in the GroupProjectsFinder, i preferred find_group_projects here.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #47462 (closed)

Edited by Rémy Coutable

Merge request reports