Hello,

I am building a voting system. I have a few Binary polls.
I set up permissions for seeing, voting on poles and I display the different polls in a view.

Problem : As soon as someone voted on the poll, noone else is able to do so. The checkboxes just disappear.
There is certainly something I am missing. Could you help me ?

Thank you.
Matthieu.

Comments

Matthieu’s picture

I think I found where my problem came from by looking into the code :
"Check if the user's IP has already voted."

Seen I was using my computer to test the programm, I had all the time the same IP => I was considered as the same user even if I was login into different roles.

Matthieu.