Skip to content

Disallow vote edits#72

Merged
domi41 merged 5 commits intomasterfrom
disallow-vote-edits
Mar 27, 2026
Merged

Disallow vote edits#72
domi41 merged 5 commits intomasterfrom
disallow-vote-edits

Conversation

@chriscool
Copy link
Copy Markdown
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
Copy Markdown
Collaborator Author

@TheoSabattie could you take a look?

@domi41 domi41 merged commit d58a136 into master Mar 27, 2026
2 checks passed
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

2 participants