Skip to content

feat: disabled identify methods handling#6225

Merged
vitormattos merged 3 commits intomainfrom
feat/disabled-identify-methods-handling
Dec 17, 2025
Merged

feat: disabled identify methods handling#6225
vitormattos merged 3 commits intomainfrom
feat/disabled-identify-methods-handling

Conversation

@vitormattos
Copy link
Copy Markdown
Member

No description provided.

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>
@vitormattos vitormattos added this to the Next Major (33) milestone Dec 17, 2025
@vitormattos vitormattos self-assigned this Dec 17, 2025
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Dec 17, 2025
@vitormattos
Copy link
Copy Markdown
Member Author

/backport to stable32

@vitormattos
Copy link
Copy Markdown
Member Author

/backport to stable31

@vitormattos vitormattos merged commit 42c025b into main Dec 17, 2025
57 checks passed
@vitormattos vitormattos deleted the feat/disabled-identify-methods-handling branch December 17, 2025 01:37
@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

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant