Code Monkey home page Code Monkey logo

Comments (2)

saemideluxe avatar saemideluxe commented on May 22, 2024

Suggestion for an implementation:

  • Data removal happens through anonymization and is implemented as "blanking" of all PPI attributes. This does not touch referal integrity and allows to keep some data for later analytics
  • The history (meaning all revisions) needs to be purged
  • File fields need to be purged. One unsolved issue is what happens if a file field changed its value, meaning a user uploads a first file and later uploads another file to the same field. Django does not delete the original file as it can lead to loss of data in certain circumstances. A solution would be to implement (or integrate an existing app for) managed files where each uploaded file is saved as a separate, immutable database object (instead of just a database field) and the removal of such a database object will also remove the according file from the filesystem.
  • Backups can basically be ignored as long as they are not retained over large amounts of time. Some privacy laws may have a degree of contradiction (in the law themselfes or with other laws) due to requiring backups and at the same time requiring the ability to completely remove data. However, legal professionals seem to agree that data retention for legal reasons (including backups) takes precedence over the removal of such data.
  • Administrators can define (through the user interface or a configuration file) which fields of a database object should be blanked. N-N relations can only be deleted, 1-N and 1-1 relations can be deleted or kept while blanking-definitions can span kept relationships
  • Rules for automated data removal could be established, but that should have its own discussion thread.

from basxconnect.

freebeat avatar freebeat commented on May 22, 2024

@saemideluxe : Sounds good.

  • File fields: Could you make revisions for that field, and then purge old files when purging the revisions?

from basxconnect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.