Skip to content

Update registration_type to invite when invites are accepted later

Doug Stull requested to merge 435746-update-registration-type-for-invites into master

What does this MR do and why?

Update registration_type to invite when invites are accepted later

  • We sometimes go through identity verification even for invites when we are in higher than low risk band. Due to that, we are not considers to be verified until we complete those steps and therefore memberships are not accepted. We need to also add our registration types to be updated at that time.
  • during identity verification we need to update the registration_type as we are not accepting invites during registration controller if identity verification needs to take place. user.members.any? is our trigger to know if it is an invite.
  • adds feature specs for invite flow to verify the functionality added(testing gap now plugged). This could have been a bug, but we are still behind a feature flag.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #460691 (closed)

Edited by Doug Stull

Merge request reports