LG-15698 Cancel Pervious In-Person Enrollments at start#11939
Merged
gina-yamada merged 7 commits intomainfrom Mar 4, 2025
Merged
LG-15698 Cancel Pervious In-Person Enrollments at start#11939gina-yamada merged 7 commits intomainfrom
gina-yamada merged 7 commits intomainfrom
Conversation
gina-yamada
commented
Mar 3, 2025
| end | ||
|
|
||
| def cancel_previous_in_person_enrollments | ||
| return unless IdentityConfig.store.in_person_proofing_enabled |
Contributor
Author
There was a problem hiding this comment.
I deleted this logic. I cannot think of a case where we'd not want to clean up in person enrollments. Let me know your opinions on this.
ie: If a user got as far as to create an establishing enrollment and then let their session expire, started again... and then if we turned IPP off for an outage during this time, I feel we'd still want to clean up the previous enrollment even if they cannot move through IPP again.
Contributor
There was a problem hiding this comment.
This makes sense to me!
…ean up in welcome controller from on update to a before action
Contributor
Author
|
@shanechesnutt-ft I added one additional spec since you pulled down. Just an fyi |
shanechesnutt-ft
approved these changes
Mar 4, 2025
Contributor
shanechesnutt-ft
left a comment
There was a problem hiding this comment.
Ran through the test cases and things look good to me! Good Job! 👍🏻
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎫 Ticket
Link to the relevant ticket:
LG-15698 Clean up establishing in person enrollments when the user abandons their session
🛠 Summary of changes
/verify/welcometo/verify/in_person/state_idby typing in the url because they no longer have an existing establishing enrollment. (We were cleaning up previous enrollments just after Welcome but now we will do it before📜 Testing Plan
/verify/in_person/state_idin the url and hit enter