You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the option "Anyone can vote" is chosen for an election, nobody can cast a vote.
Steps to reproduce
Install the Django project in a VirtualEnv and apply migrations
Set env. variables AUTH_ENABLED_SYSTEMS and AUTH_DEFAULT_SYSTEM to "password"
Start server
Create an election with a few questions/answers
In the "Voters and Ballot Tracking Center" choose "Anyone can vote"
Freeze the election
Try to cast the vote
At the final step of the vote casting process the voter is asked for their "voter ID" and password.
However, the responsible view only tries to match the provided credentials against the voter list, which was not created, because its an open election.
The text was updated successfully, but these errors were encountered:
It seems to be a design choice, that users, which are not authenticated via a 3rd party service (e.g. Google, GitHub, ..., i.e. users with password stored in the DB (see #371)), are not allowed to participate in open-registration elections.
This is prohibited by the function _check_eligibility in helios/views.py
crazyscientist
changed the title
Elections, where anyone can vote, do not work
Password-users are not allowed to participate in open-registration elections
Feb 2, 2023
Problem
If the option "Anyone can vote" is chosen for an election, nobody can cast a vote.
Steps to reproduce
AUTH_ENABLED_SYSTEMS
andAUTH_DEFAULT_SYSTEM
to "password"At the final step of the vote casting process the voter is asked for their "voter ID" and password.
However, the responsible view only tries to match the provided credentials against the voter list, which was not created, because its an open election.
The text was updated successfully, but these errors were encountered: