CrisisCleanup / crisiscleanup-1

[OLD] Legacy Crisis Cleanup on GAE/Python
https://sandy-disaster-recovery.appspot.com
Other
8 stars 4 forks source link

When deleting an organization, all sites that have been claimed by that organization are orphaned. #196

Open aarontitus opened 11 years ago

aarontitus commented 11 years ago

Original author: andy.n.g...@gmail.com (February 23, 2013 07:56:01)

This could cause major issues, including 500 errors. When we delete an organization (which should only done from the /admin panel), sites should automatically be cleaned of that organization.

We will need to discuss what we do with the site. Possibly change it to open/unassigned.

Original issue: http://code.google.com/p/sandy-disaster-recovery/issues/detail?id=196

aarontitus commented 11 years ago

From v...@aarontitus.net on February 24, 2013 22:34:51 When an organization is deleted, every associated work order should be set to "Unclaimed". If the status for a phase is set to "Closed,..." or "Rejected...", then the status should remain unchanged. If the If the status for a phase is set to "Open,..." it should be reset to "Open, unassigned."