Skip to content

[stable31] fix: respect status 0 (DRAFT) when adding new signers#6118

Merged
vitormattos merged 1 commit intostable31from
backport/6117/stable31
Dec 11, 2025
Merged

[stable31] fix: respect status 0 (DRAFT) when adding new signers#6118
vitormattos merged 1 commit intostable31from
backport/6117/stable31

Conversation

@backportbot-libresign
Copy link
Copy Markdown

Backport of PR #6117

When adding a new signer with status 0, the backend was ignoring it
because empty() treated 0 as falsy. Changed to isset() to properly
handle status 0.

Also updated determineInitialStatus() to allow new signers to be
added in DRAFT mode even when the file is not in DRAFT status,
allowing gradual signer addition before requesting signatures.

Signed-off-by: Vitor Mattos <[email protected]>
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Dec 11, 2025
@backportbot-libresign backportbot-libresign Bot added this to the Next Patch (31) milestone Dec 11, 2025
@vitormattos vitormattos merged commit 797aea5 into stable31 Dec 11, 2025
40 of 52 checks passed
@github-project-automation github-project-automation Bot moved this from 0. Needs triage to 4. to release in Roadmap Dec 11, 2025
@vitormattos vitormattos deleted the backport/6117/stable31 branch December 11, 2025 18:29
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