Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
haskell-gargantext
haskell-gargantext
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 179
    • Issues 179
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 10
    • Merge Requests 10
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gargantext
  • haskell-gargantexthaskell-gargantext
  • Issues
  • #458

Closed
Open
Opened Mar 20, 2025 by Fabien Maniere@fmaniere
  • Report abuse
  • New issue
Report abuse New issue

[Node Corpus] Purge orphans documents/contexts - while a corpus is deleted - Important for GDPR (fr: RGPD)

Summary

On deleting a Corpus node, the documents (contexts) are not automatically deleted.

This raises a problem with GDPR and possibility for users to delete their own data.

IMPORTANT:

  • we have to conserve the contexts if they are linked to another Corpus in the tree
  • so only orphan contexts must be deleted

Steps to reproduce

What is the current bug behavior?

Actually the database conserve all contexts (event orphan ones).

What is the expected correct behavior?

Previously described.

Relevant logs and/or screenshots

Possible fixes

The discussion is open to determine how the ‘purge’ can be organised:

  • at the same time as the deletion of the node (Documents or/and Corpus?) to which they are linked
  • independently, for example via a ‘purge’ command executed arbitrarily and regularly?
Edited Aug 25, 2025 by Fabien Maniere
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
1
Labels
To Do
Assign labels
  • View project labels
Reference: gargantext/haskell-gargantext#458