Skip to content

[stable32] feat: disabled identify methods handling#6227

Merged
vitormattos merged 3 commits intostable32from
backport/6225/stable32
Dec 17, 2025
Merged

[stable32] feat: disabled identify methods handling#6227
vitormattos merged 3 commits intostable32from
backport/6225/stable32

Conversation

@backportbot-libresign
Copy link
Copy Markdown

Backport of PR #6225

Add support for displaying signers with disabled identification methods
in read-only mode. When disabled prop is true, the component shows:
- Warning message explaining the method is disabled
- Signer information in read-only mode
- No editable fields or action buttons

This allows users to view signer details even when the identification
method has been disabled by the administrator.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Add detection of disabled identification methods in Signer component:
- Load identify_methods from state and check if method is enabled
- Add visual styling (reduced opacity, overlay) for disabled signers
- Add tooltip explaining why signer cannot be used
- Prevent click action when method is disabled
- Keep actions menu functional for delete/edit operations

This provides clear visual feedback when a signer's identification
method has been disabled by the administrator.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Add comprehensive validation for disabled identification methods:
- Check method status in canSignerActInOrder to centralize validation
- Hide menu actions (customize message, request signature, send reminder)
  for signers with disabled methods
- Add hasSignersWithDisabledMethods computed property
- Hide "Setup signature positions" and "Request signatures" buttons
  when any signer has a disabled method
- Show warning message when disabled methods are detected
- Always show signer's method in edit dialog even if disabled
- Pass disabled prop to IdentifySigner component

This ensures users cannot proceed with signature requests until all
signers have valid identification methods.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Dec 17, 2025
@backportbot-libresign backportbot-libresign Bot added this to the Next Patch (32) milestone Dec 17, 2025
@vitormattos vitormattos merged commit 556d0d6 into stable32 Dec 17, 2025
55 checks passed
@vitormattos vitormattos deleted the backport/6225/stable32 branch December 17, 2025 01:40
@github-project-automation github-project-automation Bot moved this from 0. Needs triage to 4. to release in Roadmap Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant