docs
docs copied to clipboard
Trash feature (with restoring)
We operate in a tightly regulated industry.
It is important to not be able to permanently any document.
Can I disable delete?
Is there a way to enable trash can feature?
There is no trash feature currently. It's something which could be done however, I like this idea.
Would it be possible to add a config option called "showDeleteInUI" and if this is set to false it will remove the delete button from the UI?
If this feature was added I will be able to champion this product internally.
Since we are in a highly regulated environment we cannot have the option of deleting documents.
I am also interested in a "showDeleteInUI" option or something similar.
My current solution is to add custom css to hide the delete button:
button.btn.btn-danger.ng-binding { visibility: collapse; width: 1px; padding: 0px; }
I started to implement a feature to disable the deletion of documents and attached files. The trash feature be achieved with workflows by tagging documents "trash" i guess.
Still needs some additional work until ready for a pull request. https://github.com/kernrot/docs/tree/disable-document-deletion