Repository navigation
feat(identity): reject identification documents with reason and replacement - #9434
Open
vitormattos wants to merge 35 commits into
Open
vitormattos wants to merge 35 commits into
vitormattos wants to merge 35 commits into
Conversation
Contributor
Code Metrics ReportNote: Metrics describe the revision analyzed by the successful PHPUnit run. Newer commits with pending, canceled or failed checks may not yet be represented in this report.
Details | | main (1511388) | #9434 (cf5860e) | +/- |
|---------------------|----------------|-----------------|--------|
+ | Coverage | 77.5% | 77.9% | +0.4% |
| Files | 525 | 530 | +5 |
| Lines | 29422 | 29625 | +203 |
+ | Covered | 22816 | 23101 | +285 |
+ | Test Execution Time | 4m42s | 2m58s | -1m44s |Code coverage of files in pull request scope (73.5% → 79.1%, patch 100.0%)Reported by octocov |
vitormattos
force-pushed
the
feat/id-document-rejection-9370-20261110
branch
from
November 10, 2026 18:08
25cbbbb to
6736ec6
Compare
vitormattos
marked this pull request as ready for review
November 11, 2026 22:37
YvesCesar
self-requested a review
November 12, 2026 13:09
YvesCesar
requested changes
Nov 12, 2026
YvesCesar
left a comment
Member
There was a problem hiding this comment.
Thanks @vitormattos !
I made a few revisions. Could you take a look?
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
…ntract Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
…ment Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
…solation Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
…ing ID cases Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
…move Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
vitormattos
force-pushed
the
feat/id-document-rejection-9370-20261110
branch
from
November 21, 2026 19:43
4982be3 to
27f99c7
Compare
…ntract Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
… resolved Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
…ndex Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Member
Author
|
@YvesCesar can you review again? |
YvesCesar
approved these changes
Nov 23, 2026
YvesCesar
left a comment
Member
There was a problem hiding this comment.
Thanks, @vitormattos !
Looks okay to me.
This branch has not been deployed
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.
Problem
When an identification document is expired, unreadable, or otherwise unacceptable, reviewers need to request a replacement without deleting the evidence or cancelling the signature request. Deleting the document loses the explanation, forces manual follow-up, and makes the outcome indistinguishable from a normal removal.
What changes
Interface screenshots
Approval queue: before and after
Reviewer rejection flow
The screenshots show the rendered LibreSign interface with synthetic document data. They demonstrate the interaction, not completion of an end-to-end signing flow.
Validation and review focus
Automated tests cover reviewer permissions, audit retention, rejection and replacement for account and external signers, recipient privacy, notifications, duplicate-document prevention, and the frontend's approval/rejection states. The reviewer history displays who rejected the document and when; the signer-facing view does not disclose that identity.
Please review the rejection/approval concurrency boundary, notification delivery and retry behavior, and the complete reject → notify → replace → sign journey in an integrated environment.
Closes #9370.