Add missing access options in member invitation
What does this MR do and why?
This change ensures that users with indirect group membership through group links are allowed to assign access level options that they inherit from these links.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Create two top-level groups
- Group1
- Group2
- Invite another user to
Group2
as anOwner
- Invite
Group2
toGroup1
with anOwner
role - Have the other user Invite a member
- Observe that the role list is not empty
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.
Edited by mo khan