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

KER-280 | GDPR API data export #454

Merged
merged 8 commits into from Nov 24, 2023
Merged

KER-280 | GDPR API data export #454

merged 8 commits into from Nov 24, 2023

Conversation

charn
Copy link
Contributor

@charn charn commented Nov 9, 2023

GDPR query serializes user related data. This includes:

  • written comments (SectionComment)
  • voted comments (SectionComment)
  • images related to comments (CommentImage)
  • followed hearings (Hearing)
  • answered polls (SectionPollAnswer)
  • created polls (SectionPoll)
  • created poll options (SectionPollOption)
  • admin organizations (Organization)
  • created hearings (Hearing)
  • sections of a hearing (Section)
  • images related to a section (SectionImage)
  • files relates to a section (SectionFile)

GDPR delete pseudo-anonymizes the data for the user.

@voneiden
Copy link
Contributor

typo in commit: docs(readme): fix >>intructions<< for django admin tunnistamo login

@charn charn force-pushed the KER-280-gdpr-api branch 9 times, most recently from fcca555 to 9384984 Compare November 16, 2023 16:18
@charn charn marked this pull request as ready for review November 17, 2023 07:12
@charn charn requested a review from a team November 17, 2023 07:12
@charn charn force-pushed the KER-280-gdpr-api branch 10 times, most recently from be80eec to fd8909d Compare November 20, 2023 22:02
Copy link
Contributor

@nicobav nicobav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff also outside of the GDPR api spectrum 👍

Serialize user related objects in the GDPR query operation

- written comments (SectionComment)
- voted comments (SectionComment)
- images related to comments (CommentImage)
- followed hearings (Hearing)
- answered polls (SectionPollAnswer)
- created polls (SectionPoll)
- created poll options (SectionPollOption)
- admin organizations (Organization)
- created hearings (Hearing)
- sections of a hearing (Section)
- images related to a section (SectionImage)
- files relates to a section (SectionFile)

Add test_media folder which gets removed when tests have been run.

Also tests PDF upload with an actual PDF dummy file.

Refs: KER-280
Copy link

sonarcloud bot commented Nov 24, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 11 Code Smells

36.9% 36.9% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@charn charn merged commit e6e964d into master Nov 24, 2023
2 of 3 checks passed
@charn charn deleted the KER-280-gdpr-api branch November 24, 2023 09:52
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.

None yet

3 participants