Open trustthevote opened 1 year ago
@trustthevote @amekelburg : If the admin interface uses the openElection and openElection test endpoints for this, workflow constraints will be checked there (partially implement in 3.3.0).
Though that will be after the fact of an attempted "go Live"
Best case would be to check the same attributes in the admin interface and only offer/enable "Go Live" when workflow constraints are met.
Two functional constraints are "going live" (which now means enabling lookup, or Opening for voting):
election.testComplete === true
election.votersSet === true
Related to disabling test mode after test complete:
https://github.com/TrustTheVote-Project/ABC-backend/issues/97
Add a workflow constraint on going live: configs must be 100% complete, EDF and ballots uploaded, at least one test phase done, confirmation of testing completed, production voter file uploaded. Can implement with direct checks of each, or rely on state-machine data.