Skip to content

LG-8387 Prevent Threatmetrix pending users from doing IdV sign ins#7493

Merged
jmhooper merged 5 commits intomainfrom
jmhooper-dont-allow-ial2-for-tmx-pending-users
Dec 15, 2022
Merged

LG-8387 Prevent Threatmetrix pending users from doing IdV sign ins#7493
jmhooper merged 5 commits intomainfrom
jmhooper-dont-allow-ial2-for-tmx-pending-users

Conversation

@jmhooper
Copy link
Copy Markdown
Contributor

@jmhooper jmhooper commented Dec 15, 2022

Threatmetrix device profiling is designed to flag suspicious accounts. These accounts are not intended to have access to any IdV functionality after being flagged. This commit adds that functionality.

Threatmetrix accounts can be relieved by changing the deactivation_reason in the profile. A follow-up PR will add tooling for this.

Threatmetrix device profiling is designed to flag suspicious accounts. These accounts are not intended to have access to any IdV functionality after being flagged. This commit adds that functionality.

Threatmetrix accounts can be relieved by changing the `deactivation_reason` in the profile. A follow-up PR will add tooling for this.

[skip changelog]
end

def threatmetrix_review_pending_profile
user.profiles.threatmetrix_review_pending.order(created_at: :desc).first
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What's the point of ordering these?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Just to get the most recent one. There should only be one but want to make sure we are consistent if somehow there are multiple.

Copy link
Copy Markdown
Contributor

@theabrad theabrad left a comment

Choose a reason for hiding this comment

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

LGTM

@jmhooper jmhooper merged commit 8c9952b into main Dec 15, 2022
@jmhooper jmhooper deleted the jmhooper-dont-allow-ial2-for-tmx-pending-users branch December 15, 2022 18:54
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