Skip to content

LG-9411 fraud review script fix#8141

Merged
theabrad merged 5 commits intomainfrom
abrad-lg-9411-fraud-review-script-fix
Apr 5, 2023
Merged

LG-9411 fraud review script fix#8141
theabrad merged 5 commits intomainfrom
abrad-lg-9411-fraud-review-script-fix

Conversation

@theabrad
Copy link
Contributor

@theabrad theabrad commented Apr 5, 2023

🎫 Ticket

LG-9411

🛠 Summary of changes

The old way to check if a profile was fraud_review_eligible was to use the proofing component. This method is now moved to the user model and checks if a user's fraud review profile has a verified_at date.

theabrad added 5 commits April 5, 2023 15:17
review_eligible? was moved from the proofing component to the user
model. Instead of checking the proofing_component's verified_at field we
will check the user's profile to determine if they are within the 30 day
time frame
changelog: Internal, IdV Fraud, Place fraud_review_eligible in user
model
@theabrad theabrad requested review from a team and zachmargolis April 5, 2023 19:42
Copy link
Contributor

@jmax-gsa jmax-gsa left a comment

Choose a reason for hiding this comment

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

LGTM

@theabrad theabrad merged commit 662b4d6 into main Apr 5, 2023
@theabrad theabrad deleted the abrad-lg-9411-fraud-review-script-fix branch April 5, 2023 20:21
mitchellhenke pushed a commit that referenced this pull request Apr 7, 2023
* add fraud_review_eligible? to user model

review_eligible? was moved from the proofing component to the user
model. Instead of checking the proofing_component's verified_at field we
will check the user's profile to determine if they are within the 30 day
time frame

* change user factory to use new verified_at

* remove old review eligible from proofing component

* add changelog

changelog: Internal, IdV Fraud, Place fraud_review_eligible in user
model

* add guard for fraud_review_eligible
jc-gsa pushed a commit that referenced this pull request Apr 19, 2023
* add fraud_review_eligible? to user model

review_eligible? was moved from the proofing component to the user
model. Instead of checking the proofing_component's verified_at field we
will check the user's profile to determine if they are within the 30 day
time frame

* change user factory to use new verified_at

* remove old review eligible from proofing component

* add changelog

changelog: Internal, IdV Fraud, Place fraud_review_eligible in user
model

* add guard for fraud_review_eligible
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