Leverage existing API param to restrict groups in invite groups API
What does this MR do and why?
It leverages the existing min_access_level flag to return only groups with minimum access to the groups API for the "Invite a group" modal. This fixes the current issue of trying to invite groups to a project where user does not have direct access.
How to set up and validate locally
The issue reproduction steps are mentioned in the issue #214755 (closed) .
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #214755 (closed)
Edited by Mansoor Khan