This repository was archived by the owner on Jun 19, 2026. It is now read-only.
Add GDPR privacy export and deletion workflow#1120
Open
gorkemio wants to merge 1 commit into
Open
Conversation
Author
|
Demo video for #76: finmind-gdpr-demo.mp4 |
Author
|
Demo video added. This is ready for review. Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
/claim #76
Summary
I added a GDPR-ready privacy workflow for exporting and deleting a user’s personal data.
What changed:
GET /privacy/export, which returns a ZIP package withmanifest.json,profile.json,data.json, and per-table CSV files for the authenticated user’s own records.DELETE /privacy/me, guarded by the explicitDELETE_MY_DATAconfirmation, to permanently remove user-owned records.Validation
REDIS_URL=redis://localhost:6379/15 python -m pytest tests/test_privacy.py tests/test_auth.pyfrompackages/backend(5 passed)REDIS_URL=redis://localhost:6379/15 python -m pytestfrompackages/backend(24 passed)python -m black --check packages/backend/app/routes/privacy.py packages/backend/tests/test_privacy.pypython -m flake8 packages/backend/app/routes/privacy.py packages/backend/tests/test_privacy.py --config=.flake8npm run lintfromappnpm run buildfromappNotes
Deletion is immediate and irreversible after the
DELETE_MY_DATAconfirmation, which matches the acceptance criteria for this issue.