#160 - Undelete
| Identifier | #160 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | Undelete |
| Status | Closed (duplicate) |
| Tags |
Risk: Database change (custom) |
| Handling member | Chris Graham |
| Addon | actionlog |
| Description | Create a new API where you can tell it to monitor deletion queries and upload deletions, putting all deleted data into a buffer. Update the log_it function to stop stop the monitoring session and store it all into a deleted_resources table.
[code] undelete_monitor_start(); ... query_delete(...); ... delete_upload(...); ... log_it(...); [/code] Update the action log to be able to undelete these items.Warn that sometimes restoring things can lead to inconsistencies - for example if you restore something that was in a category that was since deleted. Make sure it is possible to undo a restore, and explain this in the interface. Update the deletion messages (e.g. "unreversable and immediate") to note how things can now be undeleted. Create a cleanup tool to purge deleted items. |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments