Created from redmine issue http://projects.theforeman.org/issues/6815
Upstream bug assigned to firstname.lastname@example.org
Prevent a user from deleting an environment if it has systems or content views. Currently, if you deleted a content view, it removes its systems and content views by bypassing the dynflow code. We need to prevent that for 6.0.4.
The workaround (until we have lifecycle environment destroy dynflowed) is to remove the content views and reassign systems using the content view deletion page.
Here is the BZ to implement lifecycle environment destroy:
We're dynflowizing environment delete so closing this out.