makeitcount / saas-express-starter-kit

A boilerplate for any real world SaaS with features such as authentication, email service, etc.
MIT License
54 stars 10 forks source link

Flag for what data is deletable and what's not #42

Open makeitcount opened 2 years ago

makeitcount commented 2 years ago

Many laws require to retain some data(e.g. Germany requires to keep financial trxn data for 7 years). So when deleting the data for GDPR, there should be a way to know what can be deleted and what can not. It could be a flag in the db document or a separate collection/store to maintain this info mapping.