Resolve "lists the groups to where another, specific group can be transferred to, on `User.groups` GraphQL endpoint"
What does this MR do and why?
For #365221 (closed)
Currently, the Group transfer
locations is being coded in HAML:
But, we need to move this part to a Vue component that obtains the data from a GraphQL API so that we can bring further improvements to this area.
So, as first step, we are exposing the details of "groups that can accept the transfer of another, specific group for the current user" via the GraphQL API.
This endeavour is similar to what we did in !91476 (merged)
Screenshots or screen recordings
How to set up and validate locally
The above shows the request made by current_user
so as to list the groups to where the group with ID 72
can be transferred to.
Note: current_user
should have OWNER access to group with ID 72
to list the groups correctly. Without Owner access for the group being transferred, this endpoint will only return an empty result.
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.