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

Uncheck email preferences by default #10919

Merged
merged 3 commits into from
Oct 19, 2020

Conversation

citizen428
Copy link
Contributor

#9876 What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

I recently noticed a potential GDPR issue in our onboarding flow: the email preference checkboxes should be deselected by default, see GDPR Recital 32:

Consent should be given by a clear affirmative act […] Silence, pre-ticked boxes or inactivity should not therefore constitute consent.

This PR updates the EmailPreferencesForm component used during the onboarding flow and also changes the DB-level default value for these two columns from true to false so we have consistent behavior no matter how an account is created.

Related Tickets & Documents

Closes https://github.com/forem/InternalProjectPlanning/issues/176

QA Instructions, Screenshots, Recordings

Go through the onboarding flow and verify that the following two checkboxes are unchecked by default:

Uploading Screen Shot 2020-10-19 at 08.59.25.png…

Added tests?

  • yes, updated existing tests
  • no, because they aren't needed
  • no, because I need help

Added to documentation?

  • docs.forem.com
  • readme
  • no documentation needed

[optional] What gif best describes this PR or how it makes you feel?

image

@citizen428 citizen428 requested a review from a team as a code owner October 19, 2020 02:05
@pr-triage pr-triage bot added the PR: unreviewed bot applied label for PR's with no review label Oct 19, 2020
Copy link
Contributor

@mstruve mstruve left a comment

Choose a reason for hiding this comment

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

Small typo in a spec description but otherwise LGTM!

@pr-triage pr-triage bot added PR: partially-approved bot applied label for PR's where a single reviewer approves changes and removed PR: unreviewed bot applied label for PR's with no review labels Oct 19, 2020
…sForm.test.jsx

Co-authored-by: Molly Struve <mollylbs@gmail.com>
@pr-triage pr-triage bot added PR: unreviewed bot applied label for PR's with no review and removed PR: partially-approved bot applied label for PR's where a single reviewer approves changes labels Oct 19, 2020
@pr-triage pr-triage bot added PR: partially-approved bot applied label for PR's where a single reviewer approves changes and removed PR: unreviewed bot applied label for PR's with no review labels Oct 19, 2020
@benhalpern benhalpern merged commit adb41a0 into master Oct 19, 2020
@benhalpern benhalpern deleted the citizen428/onboarding-email-checkboxes branch October 19, 2020 14:20
@pr-triage pr-triage bot added PR: merged bot applied label for PR's that are merged and removed PR: partially-approved bot applied label for PR's where a single reviewer approves changes labels Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: merged bot applied label for PR's that are merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants