Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: setting up a logical deletion of documents #1926

Open
flob38 opened this issue Dec 19, 2024 · 0 comments
Open

Feature: setting up a logical deletion of documents #1926

flob38 opened this issue Dec 19, 2024 · 0 comments

Comments

@flob38
Copy link

flob38 commented Dec 19, 2024

Community discussion about this feature (mandatory)
Link to https://forum.camptocamp.org/t/cahier-des-charges-suppression-logique-des-documents/329807 where this feature has been validated

Is your feature request related to a problem? Please describe.
I deleted by error an outing of a contributor instead of the pictures he wanted to delete.
There is currently no way to retrieve a deleted document.

It would be good to set up a logical deletion of documents, in order to be able to correct a possible error.
So when a contributor (if he has the right) or a moderator deletes a document, whatever it may be, it would have a “Deleted” status in the database and would no longer be visible on the site.
Every year (or more often?), all old documents in the “Deleted” state would be permanently deleted from the database (via a robot?).

We need to add a “deleted” field to the activity feed cards, if it is a separate table. In order to be able to redisplay a deleted document, you must not delete the corresponding card, but only hide it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant