Issue 14309

Organization deletion should not be allowed when org owns datasets

14309
Reporter: omeyn
Type: Improvement
Summary: Organization deletion should not be allowed when org owns datasets
Priority: Critical
Status: Open
Created: 2013-10-29 12:15:36.456
Updated: 2013-12-12 17:32:44.583
        
Description: If an organization is deleted while it owns datasets (or hosts datasets) there will be an inconsistency in the occurrence records which still think the deleted org is the owner (or host). Action is taken immediately (m/r job syncing occurrences to registry) when registry change messages are sent so the registry must always be consistent.

So: when delete is pressed for an org, a validation check should look for owned datasets (or hosted datasets) and prevent deletion until those datasets are either owned by another org or deleted.]]>