Repository navigation
Fix approval revocation during a new verification attempt - #11
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An approved customer could keep accessing
[didit_gate]content after a signed revocation if they had started another verification attempt.The pending session pointer had moved, so the webhook updated the old session record but left the user's approval active.
Apply confirmed decisions to either the pending session or the session currently granting access.
Read the recorded decision when displaying status or checking access so revocations received before upgrading also take effect.
Updates to an obsolete session still cannot overwrite a newer approval.
Prepare WordPress release 0.3.4 with regression coverage for declined, expired, KYC-expired, review, superseded, and out-of-order decisions.
Validation:
PR #9 superseded the broader browser-callback implementation in #8.
This carries its remaining revocation behavior forward without replacing the session binding and branding now on main.