Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting applications #2682

Open
7 tasks
opqdonut opened this issue May 21, 2021 · 1 comment
Open
7 tasks

Deleting applications #2682

opqdonut opened this issue May 21, 2021 · 1 comment
Assignees
Labels
Feature It's intentionally in the project Stat Statistics Finland

Comments

@opqdonut
Copy link
Contributor

opqdonut commented May 21, 2021

Example use cases:

  • deleting all applications older than n years due to GDPR etc
  • deleting a single application that contains sensitive data or
    illegal content
  • deleting all applications for a user after a GDPR request

Plan:

  • allow /api/applications/delete (a command that deletes a single application) for all applications
    • only to owner, or perhaps to a new separate role (system?)
  • add deletion of application to end of end-to-end test
  • create example python script that fetches all applications via the API and deletes all that are over x days old
    • or perhaps all that relate to a certain applicant
  • config option to enable deletion (disabled by default)
  • soft delete first (deleted_at column in tables)
  • background "poller" job to delete for real (default: after 90 days)
  • configurable retention policy
@opqdonut opqdonut added Feature It's intentionally in the project Stat Statistics Finland labels May 21, 2021
@Macroz
Copy link
Collaborator

Macroz commented Jun 17, 2022

Some of the logic is ready thanks to #2665, #2729 and #2906.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature It's intentionally in the project Stat Statistics Finland
Projects
Status: In Progress
Development

No branches or pull requests

2 participants