Skip to content

LG-10886 remove ssn from flow session#9182

Merged
soniaconnolly merged 11 commits intomainfrom
sonia-lg-10886-remove-ssn-from-flow-session
Sep 12, 2023
Merged

LG-10886 remove ssn from flow session#9182
soniaconnolly merged 11 commits intomainfrom
sonia-lg-10886-remove-ssn-from-flow-session

Conversation

@soniaconnolly
Copy link
Contributor

🎫 Ticket

LG-10886

🛠 Summary of changes

After #9129 and #9168 are deployed, finish removing ssn from flow_session[:pii_from_doc] and flow_session[:pii_from_user]

📜 Testing Plan

  • Create account, start IdV
  • Edit SSN in VerifyInfo step
  • Expect SSN to be saved correctly in verified profile
  • Create new account, start IdV
  • Upload error yaml to enter In Person flow
  • Edit SSN in VerifyInfo step
  • Expect SSN to be saved correctly when barcode is generated.

Copy link
Contributor

@svalexander svalexander left a comment

Choose a reason for hiding this comment

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

Added a question


def confirm_ssn_step_complete
return if pii.present? && (idv_session.ssn.present? || pii[:ssn].present?)
return if pii.present? && idv_session.ssn.present?
Copy link
Contributor

Choose a reason for hiding this comment

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

Just wondering if we still need to check pii.present? as it seems we were checking it since we were grind ssn from pii.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good question. We're calling this from the verify_info controllers, and they require pii to be present so I decided to leave the check here. We could consider making a separate before action in the future that confirms that pii is present. Or rename this method.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ahh ok i see, makes sense. I like the idea of a before action.

@soniaconnolly soniaconnolly merged commit e44cfbb into main Sep 12, 2023
@soniaconnolly soniaconnolly deleted the sonia-lg-10886-remove-ssn-from-flow-session branch September 12, 2023 22:24
@aduth aduth mentioned this pull request Sep 13, 2023
aduth added a commit that referenced this pull request Sep 14, 2023
aduth added a commit that referenced this pull request Sep 14, 2023
@aduth aduth mentioned this pull request Sep 14, 2023
aduth added a commit that referenced this pull request Sep 14, 2023
soniaconnolly added a commit that referenced this pull request Sep 18, 2023
Fixed 50/50 state issue by adding :ssn to pii going to proof resolution job in deploy 314.2.

This reverts commit 4f0ad04.
soniaconnolly added a commit that referenced this pull request Sep 18, 2023
* Revert "Revert "LG-10886 remove ssn from flow session (#9182)" (#9209)"

Fixed 50/50 state issue by adding :ssn to pii going to proof resolution job in deploy 314.2.

This reverts commit 4f0ad04.

* Don't use ||= when adding ssn to pii for proof resolution job

If someone updates their SSN, we want it to be updated for the proofing job, so use =
mitchellhenke pushed a commit that referenced this pull request Sep 18, 2023
* Revert "Revert "LG-10886 remove ssn from flow session (#9182)" (#9209)"

Fixed 50/50 state issue by adding :ssn to pii going to proof resolution job in deploy 314.2.

This reverts commit 4f0ad04.

* Don't use ||= when adding ssn to pii for proof resolution job

If someone updates their SSN, we want it to be updated for the proofing job, so use =
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.

3 participants