Show error when preventing groups with subscriptions being deleted
requested to merge 461495-organization-groups-trying-to-delete-a-top-level-paid-group-fails into master
What does this MR do and why?
Related to #461495 (closed)
The grouptenant scale team is building out the Organization MVC. For more information about what an "Organization" will be see https://docs.gitlab.com/ee/architecture/blueprints/organization/
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
- Start GDK in SaaS mode
export GITLAB_SIMULATE_SAAS=1 gdk restart
- Enable the feature flag
echo "Feature.enable(:ui_for_organizations)" | gdk rails c
- Navigate to
/-/organizations/default/groups_and_projects?display=groups
- Click
New group
and fill out the form - Go to
/admin/groups
- Find the group you just created and click
Edit
- In the
Permissions and group features
section change thePlan
dropdown toUltimate
- Navigate to
/-/organizations/default/groups_and_projects?display=groups
- Try to delete the group
Edited by Peter Hegman