agoravoting / referendum15oct

Referendum 15 de Octubre
http://www.referendum15deoctubre.org/
4 stars 0 forks source link

Admin section to input a DNIe manually #18

Open voodoorai2000 opened 13 years ago

voodoorai2000 commented 13 years ago

Some votes will be made in a physical ballot. The DNie of these people should be inserted into the db through an admin form.

Each admin should have a unique password.

jaimeiniesta commented 13 years ago

Do you think Active Admin would be OK for this? I can configure it.

http://activeadmin.info/

voodoorai2000 commented 13 years ago

Awesome!

jaimeiniesta commented 13 years ago

OK, I'll give it a try.

I guess we'll have SSL on the server, right?

voodoorai2000 commented 13 years ago

Cool, yes.

jaimeiniesta commented 13 years ago

I'm not sure I understand the requirements here, but I think Active Admin is not what's needed for this task.

It basically produces beautiful, advanced scaffolds, so they give access to all CRUD actions on certain models.

Are you sure you want to give all those admins the ability to create, update, destroy, show... all the attributes of all the records for the Citizen model?

I think it's not a good idea to do this, it feels very, very insecure to have so many admins.

voodoorai2000 commented 13 years ago

Yes, another solution would be best ;)

Maybe a new model, physical_dni, with a value:string?

jaimeiniesta commented 13 years ago

I don't know, I'm not sure about the exact requirements, sorry :)

I guess an editor role who was just able to enter the DNI of the citizens (just create, not update, destroy or see other records) would be fine.

But I'm afraid I can't help you here. :/

voodoorai2000 commented 13 years ago

That would work :)

The problem we are trying to solve is avoiding double votes. Once through the aplication and another time through a physical vote.

We need a flexible solution, so that we can create separate accounts for each representative at a table, and also be able to block their accounts to stop possible malicious actions!