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 #3981

Open
agneshelmstetter opened this issue Jun 19, 2024 · 1 comment
Open

Feature: setting up a logical deletion of documents #3981

agneshelmstetter opened this issue Jun 19, 2024 · 1 comment

Comments

@agneshelmstetter
Copy link

agneshelmstetter commented Jun 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.

@agneshelmstetter agneshelmstetter changed the title Feature: Feature: setting up a logical deletion of documents Jun 19, 2024
@flob38
Copy link
Contributor

flob38 commented Dec 19, 2024

What is needed on UI side ?

  • A list view of the deleted documents, accessible to moderators only

To be completed

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

No branches or pull requests

2 participants