TrustTheVote-Project / ABC-backend

https://abc-backend.vercel.app
Other
4 stars 6 forks source link

Workflow constraint on going live #90

Open trustthevote opened 1 year ago

trustthevote commented 1 year ago

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.

cwisdo commented 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.

cwisdo commented 1 year ago

Two functional constraints are "going live" (which now means enabling lookup, or Opening for voting):

Related to disabling test mode after test complete:

https://github.com/TrustTheVote-Project/ABC-backend/issues/97