Closed (outdated)
Project:
Advanced Poll
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 May 2008 at 04:20 UTC
Updated:
9 Mar 2017 at 19:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jrbI've created a patch for 6.x-1.x-dev that replaces the way that roles are handled in electoral lists.
Rather than adding the users that currently have a given role to the electoral list, it now just adds that role itself. I changed the advpoll_electoral_list table to store role IDs in addition to user IDs. The user-based list still works, you just don't add users by role anymore.
I'm not sure about the UI because this is used a little differently than before, but this was useful for me, so I'm putting it out there.
Don't use this patch (the last line is messed up). Use the one in comment #2 below.
Comment #2
jrbThe last line in the patch above was messed up. This patch should be correct.
Sorry!
Comment #3
tommyk commentedThe patch in #2 seems to work perfectly and is an excellent feature! Many thanks!
Comment #4
roball commentedThis may be of interest in some cases, but in general I think the current way is the preferred one. Just like real political elections, the list of eligible voters is defined as of a given time and cannot be changed later. What if a user of the "synchronized" role votes and before the vote will close he will no longer be member of that role - then his voting would be removed which should never be possible.
Comment #5
gobinathmD6 is EOL hence this issue won't be fixed (or) attended. So closing it.