Skip to content

Disallow vote edits#72

Open
chriscool wants to merge 5 commits intomasterfrom
disallow-vote-edits
Open

Disallow vote edits#72
chriscool wants to merge 5 commits intomasterfrom
disallow-vote-edits

Conversation

@chriscool
Copy link
Collaborator

This should fix #71

A test checks that we return a new VOTE_MODIFICATION_FORBIDDEN error when trying to cast a vote which already has a value.

There is no need to change the model and schema structure as modificationAllowed is stored in the JSON description.

@chriscool chriscool requested a review from TheoSabattie March 13, 2026 18:19
@chriscool
Copy link
Collaborator Author

@TheoSabattie could you take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an option to allow/disallow user to edit their votes until the election is close

1 participant