Enforce free user top-level group limit in SaaS
What does this MR do and why?
Limit the number of top-level groups that can be created by free users on GitLab.com to 3 per account.
References
Screenshots or screen recordings
How to set up and validate locally
- Setup GDK locally simulating SAAS (i.e. add the below to your
gdk.ymlandgdk restart)env: GITLAB_SIMULATE_SAAS: "1" - Enable the feature flag in
gdk rails cFeature.enable(:enforce_top_level_group_limits) - Create a new user and create 3 top-level groups
- Try to create another top-level group and verify you receive an error message
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Ruby Nealon
