Skip to content

Jmax/lg 13032 rename selfie to biometric comparison where appropriate#10437

Merged
jmax-gsa merged 10 commits intomainfrom
jmax/LG-13032-rename-selfie-to-biometric-comparison-where-appropriate
Apr 16, 2024
Merged

Jmax/lg 13032 rename selfie to biometric comparison where appropriate#10437
jmax-gsa merged 10 commits intomainfrom
jmax/LG-13032-rename-selfie-to-biometric-comparison-where-appropriate

Conversation

@jmax-gsa
Copy link
Contributor

@jmax-gsa jmax-gsa commented Apr 15, 2024

🎫 Ticket

Link to the relevant ticket:
LG-13032

🛠 Summary of changes

Renamed various methods which had selfie in their name to biometric_comparison equivalants. Specifically:

  • IdvSessionConcern#user_needs_selfie? -> #user_needs_biometric_comparison?
  • OpenidConnect::AuthorizationController#selfie_needed? -> #biometric_comparison_needed?
  • SamlIdpController#selfie_needed? -> #biometric_comparison_needed?
  • SignUp::CompletionsController#confirm_selfie_captured -> removed
  • SignUp::CompletionsController#selfie_required? -> removed
  • ServiceProviderSession#selfie_required? -> #biometric_comparison_required?
  • NullServiceProviderSession#selfie_required? -> #biometric_comparison_required?
  • User#identity_verified_with_selfie? -> #identity_verified_with_biometric_comparison?

📜 Testing Plan

  • Ensure that all specs pass without complaint.

@jmax-gsa jmax-gsa force-pushed the jmax/LG-13032-rename-selfie-to-biometric-comparison-where-appropriate branch from cdcf7b5 to 3617930 Compare April 16, 2024 13:49
@jmax-gsa jmax-gsa marked this pull request as ready for review April 16, 2024 13:50
@jmax-gsa jmax-gsa requested a review from jmhooper April 16, 2024 13:53
Copy link
Contributor

@jmhooper jmhooper left a comment

Choose a reason for hiding this comment

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

This looks good to me

redirect_to idv_url if current_user.identity_not_verified?
end

def confirm_selfie_captured
Copy link
Contributor

@jmhooper jmhooper Apr 16, 2024

Choose a reason for hiding this comment

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

👍

This should be fine to be removed since the selfie capture biometric comparison requirement is enforced by OpenidConnect::AuthorizationsController and SamlIdpController.

@jmax-gsa jmax-gsa merged commit 8da095b into main Apr 16, 2024
@jmax-gsa jmax-gsa deleted the jmax/LG-13032-rename-selfie-to-biometric-comparison-where-appropriate branch April 16, 2024 16:12
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.

2 participants