comphist / cora

A web-based, token-level annotation tool for non-standard language data
http://www.linguistics.rub.de/comphist/resources/cora/
MIT License
10 stars 6 forks source link

Soft delete for text/users #8

Open mbollmann opened 9 years ago

mbollmann commented 9 years ago

Originally reported by: Marcel Bollmann (Bitbucket: mbollmann, GitHub: mbollmann)


Make deletion of texts and users a flag in the database, instead of immediately and permanently deleting them.

For texts, this would allow un-doing accidental deletions. Maybe administrators could have the rights to force a proper deletion from the database if they are certain a text is no longer needed.

For users, if a user created or "last changed" a document, this information is currently lost when the user is deleted from the database, which a soft delete would also prevent.