Restrict accesss requests when group has reached member limit
What does this MR do and why?
What
Restrict access requests when group has reached member limit
- Restricts access request actions when group has reached member limit
- Removes option to approve request in the UI
Why
See context in https://gitlab.com/gitlab-org/gitlab/-/issues/428495
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
- public visibility is set on a group
- user requests access from group overview page
- owner changes group visibility to private
- group then is set to limit or over limit of 5(if over when public -> private is changed)
- group owner then goes to the members page for the group
Related to https://gitlab.com/gitlab-org/gitlab/-/issues/428495
Edited by Jay Montal