[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Elections php module



--- Omar Abo-Namous <merlin12345 at gmx dot de> wrote:
> Who will be able to see the votes ? I'm thinking the core (obviously)
> will see it under the administration menu. Everyone who has nominated
> himself will see *his* votes at the side of the screen (under Preferences).
> Should a guest to the site (no user) and a user without the required 
> cvs-commit see the results at the time the election is been held?

Only 'core' is to see the results.  All voters are to get an email
confirmation of their votes (and their votes should be recorded in mysql
as well in case a recount is called for).  It would be ideal if the email
(and mysql) also included an md5sum of the following info noted in the
sample below (the sample below is the email to be sent to each voter post
voting),

-- Sample begin
 Voter Name : first last
 Date       : vote date
 Election   : Core selection 2004
 Random #   : Some random number
 Selection1 : nominee-name or blank
 Selection2 : nominee-name or blank
 Selection3 : nominee-name or blank
 Selection4 : nominee-name or blank
 Selection5 : nominee-name or blank
-- Sample end
 md5sum     : number-string

So you take the sample text above and pipe it into md5sum and attach that
md5sum into the email as well as into mysql (this md5sum is just a sanity
check in case someone comes back and says, "hey, I didn't vote that way",
then we can say - yes you did and we have the md5sum to prove it beyond
your actual selections).  One easy way is to attach the email's contents
to voters' mysql table entries for safe keeping (again all that stuff,
random_num/md5sum, etc is to be only used in case of any disagreements).

If the above sounds hairy, don't worry about it - we can do it all later.

BTW: there are various bits of info noted in the newly updated handbook [1]

[1] http://www.arabeyes.org/download/documents/handbook/handbook-en/

Salam and keep up the great work.

 - Nadim


		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com