Skip to content

Comments

LG-9981 IdvSession activates new profile after confirming it can be activated#8549

Merged
amirbey merged 16 commits intomainfrom
amirbey/LG-9981-profile-maker-save-profile-confirm
Jun 14, 2023
Merged

LG-9981 IdvSession activates new profile after confirming it can be activated#8549
amirbey merged 16 commits intomainfrom
amirbey/LG-9981-profile-maker-save-profile-confirm

Conversation

@amirbey
Copy link
Contributor

@amirbey amirbey commented Jun 7, 2023

🎫 Ticket

LG-9981

🛠 Summary of changes

ProfileMaker#save_profile no longer activates the profile and only saves the profile; and now.
IDV::Session#create_profile_from_applicant_with_password creates the profile using ProfileMaker#save_profile and which is then activated based on Profile#confirm_that_profile_can_be_activated!.

@amirbey amirbey self-assigned this Jun 7, 2023
@amirbey amirbey requested a review from a team June 7, 2023 21:28
@amirbey amirbey changed the title Amirbey/lg 9981 profile maker save profile confirm LG-9981 IdvSession activates new profile after confirming it can be activated Jun 7, 2023
@amirbey amirbey marked this pull request as ready for review June 7, 2023 21:51
@amirbey
Copy link
Contributor Author

amirbey commented Jun 8, 2023

Slightly tangential question: should we touch verified_at every time a profile is activated? should verified_at only be touched if doesn't already exist? 🤔

@amirbey amirbey removed the request for review from a team June 8, 2023 14:39
@amirbey amirbey marked this pull request as draft June 8, 2023 14:39
@amirbey amirbey force-pushed the amirbey/LG-9981-profile-maker-save-profile-confirm branch from f647476 to 0352879 Compare June 8, 2023 15:47
@amirbey amirbey requested review from zachmargolis and removed request for zachmargolis June 8, 2023 19:25
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

LGTM

@amirbey amirbey requested a review from soniaconnolly June 9, 2023 01:14
@amirbey amirbey force-pushed the amirbey/LG-9981-profile-maker-save-profile-confirm branch from 85e2081 to 3a32ae2 Compare June 9, 2023 01:17
@amirbey amirbey marked this pull request as ready for review June 9, 2023 13:30
amirbey and others added 8 commits June 14, 2023 11:11
use implicit return

Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>
use implicit return

Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>
@amirbey amirbey force-pushed the amirbey/LG-9981-profile-maker-save-profile-confirm branch from 3a32ae2 to 4c70e79 Compare June 14, 2023 15:11
@amirbey amirbey merged commit 736c5fc into main Jun 14, 2023
@amirbey amirbey deleted the amirbey/LG-9981-profile-maker-save-profile-confirm branch June 14, 2023 15:45
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