Existing child epics cannot be removed from parent after subscription downgrade
Summary
If a namespace on Gold has any number of Epics that have their own child Epics, those child epics cannot be removed from the parent if the namespace is downgraded from Gold to Silver.
Steps to reproduce
- Create an Epic within a namespace on GitLab.com that is on Gold.
- Add another Epic as a child to the first Epic.
- Downgrade the namespace from Gold to Silver.
- Attempt to remove the child Epic from the parent Epic.
- Observe that it is not removed successfully.
What is the current bug behavior?
The child Epic is not removed from the parent Epic successfully.
What is the expected correct behavior?
The child Epic should be removed from the parent Epic.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com: 13.1.0-pre b4144d50e28