Skip to content

fix: PII Export & Delete Workflow (GDPR-ready)#624

Open
pabloDarkmoon24 wants to merge 1 commit intorohitdash08:mainfrom
pabloDarkmoon24:fix/issue-76-pii-export-delete
Open

fix: PII Export & Delete Workflow (GDPR-ready)#624
pabloDarkmoon24 wants to merge 1 commit intorohitdash08:mainfrom
pabloDarkmoon24:fix/issue-76-pii-export-delete

Conversation

@pabloDarkmoon24
Copy link

Summary

Implements GDPR-compliant PII Export & Delete as requested in issue #76.

Changes

  • app/routes/privacy.py (new file):
    • GET /user/export generates a ZIP with all user personal data
    • DELETE /user/delete irreversible cascade deletion with soft-delete grace period
    • Full audit trail in audit_logs table
    • Redis cache invalidation on account deletion

Acceptance Criteria

  • Export package generation (ZIP with JSON data)
  • Irreversible deletion workflow (cascade + audit)
  • Audit trail logging (action, IP, timestamp)

Fixes #76

Closes rohitdash08#76

Implements:
- GET /user/export: ZIP with all user personal data
- DELETE /user/delete: irreversible cascade delete + soft-delete option
- Audit trail logging for GDPR compliance
- Redis cache invalidation on delete
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

Successfully merging this pull request may close these issues.

PII Export & Delete Workflow (GDPR-ready)

1 participant