Show project that invited group users on usage quota > seats page
What does this MR do and why?
We are currently only showing the direct membership of seats in the Usage Quotas > Seats page.
With this MR we'll shows the indirect membership (invited group) for seats invited via group or project as well.
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 |
---|---|
How to set up and validate locally
- Create a top level group (where we'll be adding the seats), e.g.
Group A
- Create a project inside
Group A
- Create another 2 top level groups, e.g.
Group B
,Group C
- Invite a user to
Group B
(http://gdk.test:3000/group-b/-/group_members) - Invite another user to
Group C
(http://gdk.test:3000/group-c/-/group_members) - Invite
Group B
to a project insideGroup A
- Invite
Group C
to groupGroup A
- Navigate to Group A's Usage quotas > Seats page
- In the seats page you should see a direct membership for the first user, then 2 indirect memberships, one by a project-invite and one by a group-invite
Related to #351954 (closed)
Edited by Ammar Alakkad