Update source column on members
What does this MR do and why?
Related to #431066 (closed)
The members page for groups and projects can be confusing when trying to understand where members are coming from. This MR tries to improve this by updating the UI text in the Source
column. There are three types of members we are trying to distinguish between:
- Direct members - members added directly to a group or project
- Inherited members - members inherited from a parent group
- Invited members - members from sharing a group with a group or a project with a group
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
Given the below structure where listed users are "Direct members" here is what each members screen looks like.
graph TD
Carrot["`Carrot group
- User 1`"]
Pepper["`Pepper group
- User 3`"]
Broccoli["`Broccoli group
- User 2`"]
Tomato["`Tomato group
- User 5`"]
Personal(["`Personal project
- User 4`"])
Spinach(["`Spinach project
- User 6`"])
Carrot-->|Children|Broccoli
Pepper-->|Shared with|Carrot
Broccoli-->|Children|Spinach
Tomato-->|Shared with|Personal
Tomato-->|Shared with|Broccoli
Carrot group
Before | After |
---|---|
![]() |
![]() |
Before | After |
---|---|
![]() |
![]() |
Broccoli group
Before | After |
---|---|
![]() |
![]() |
Before | After |
---|---|
![]() |
![]() |
Pepper group
Before | After |
---|---|
![]() |
![]() |
Tomato group
Before | After |
---|---|
![]() |
![]() |
Spinach project
Before | After |
---|---|
![]() |
![]() |
Before | After |
---|---|
![]() |
![]() |
Personal project
Before | After |
---|---|
![]() |
![]() |
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
Edited by Peter Hegman