Skip to content

LG-10657 remove pii_from_doc from flow session#9198

Merged
soniaconnolly merged 13 commits intomainfrom
sonia-lg-10657-remove-pii-from-doc-from-flow-session
Sep 25, 2023
Merged

LG-10657 remove pii_from_doc from flow session#9198
soniaconnolly merged 13 commits intomainfrom
sonia-lg-10657-remove-pii-from-doc-from-flow-session

Conversation

@soniaconnolly
Copy link
Contributor

@soniaconnolly soniaconnolly commented Sep 13, 2023

🎫 Ticket

LG-10657

🛠 Summary of changes

Followup to #9195, to be merged after that is deployed.

  • remove flow_session[:pii_from_doc]
  • remove #flow_session method for remote IdV
  • clean up some controller specs that were still mocking it
  • remove #pii_from_doc method and replace with idv_session.pii_from_doc everywhere (as suggested by @kbighorse)

📜 Testing Plan

  • Start from SP, create user, complete IdV remote standard flow
  • Expect that pii is correct at the end of the flow
  • Start from SP, create user, complete IdV remote hybrid flow
  • Expect that pii is correct at the end of the flow
  • Start from SP, create user, complete IdV in person flow
  • Expect that pii is correct at the end of the flow

Now that we are not using the Flow State Machine, we can stop using flow_session.
This is the last attribute to move out in the remote flow.

changelog: Internal, Identity Verification, start moving pii_from_doc to idv_session
…_from_doc

changelog: Internal, Identity Verification, Remove flow_session[:pii_from_doc], now replaced with idv_session.pii_from_doc
@soniaconnolly soniaconnolly requested a review from a team September 13, 2023 00:00
@soniaconnolly soniaconnolly changed the base branch from main to sonia-lg-10657-start-moving-pii-from-doc-to-idv-session September 13, 2023 00:03
Base automatically changed from sonia-lg-10657-start-moving-pii-from-doc-to-idv-session to main September 20, 2023 18:20
Copy link
Contributor

@theabrad theabrad left a comment

Choose a reason for hiding this comment

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

LGTM tested through a service provider using all 3 ways listed and saw that it listed the correct information.

And delete leftover part of spec that checked deleting remote flow_session

Co-authored-by: Douglas Price <douglas.price@gsa.gov>
Copy link
Contributor

@solipet solipet left a comment

Choose a reason for hiding this comment

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

Walked through changes with Sonia. We agreed that there should be a follow on PR to remove references to user_session['idv/doc_auth'] in the specs and when clearing the session.

LGTM!

@soniaconnolly soniaconnolly changed the title LG-10657 remove pii_from doc_from flow session LG-10657 remove pii_from_doc from flow session Sep 22, 2023
@soniaconnolly soniaconnolly merged commit 02ed43c into main Sep 25, 2023
@soniaconnolly soniaconnolly deleted the sonia-lg-10657-remove-pii-from-doc-from-flow-session branch September 25, 2023 16:30
@solipet solipet mentioned this pull request Sep 26, 2023
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