Do not expire direct memberships in subgroups and projects
requested to merge gitlab-community/gitlab:471051-nwittstruck-group-membership-expiration into master
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA
What does this MR do and why?
This MR changes the behaviour when expiring user memberships in subgroups and projects. Previously, direct memberships were expired as well. To be consistent with the removal process outlined in Removing a member from a group we've changed this behaviour for expiration as well. So, direct memberships are now left intact.
As discussed in the issue, we'll start with the backend change. In a future iteration we could allow the user to choose the behaviour.
MR acceptance checklist
MR Checklist ( @nwittstruck)
-
Changelog entry added, if necessary -
Documentation created/updated via this MR -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Tested in all supported browsers -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the javascript style guides -
Conforms to the database guides
Related to #471051
Edited by Nicholas Wittstruck