[stable31] feat: disabled identify methods handling#6226
Merged
vitormattos merged 3 commits intostable31from Dec 17, 2025
Merged
[stable31] feat: disabled identify methods handling#6226vitormattos merged 3 commits intostable31from
vitormattos merged 3 commits intostable31from
Conversation
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>
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.
Backport of PR #6225