Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-8007 now.

Still able to vote after setting forum permission for "Can vote in polls" to "Never&q (fix completed in vcs)

If I set user or group forum permission for "Can vote in polls" to "Never", then users are still able to vote in polls if the users are allowed to re-vote, even if they haven't voted to the poll yet.

As an example, for Registered users I set the forum permission for "Can vote in polls" to "Never". Check the attachment (trace_can-vote-in-polls.png) to see the trace. As you can see, I should not be able to vote in polls in that forum. However, I can still vote in that forum.

I have figured out how this is possible. It's because "Allow re-voting" in the poll-post is set to enabled, while the permission "Can change existing vote" is set to "Yes". However, I have not voted to the poll yet.

If "Allow re-voting" is not set to enabled and/or the permission "Can change existing vote" is set to "No/Never", then I can't vote.

This seems odd to me. If I set a forum permission for "Can vote in polls" to "Never", then I expect not being able to vote; with the exception perhaps if the permission "Can change existing vote" is set to "Yes", "Allow re-voting" is set to enabled, and there is already an existing vote.

Comments / History

Edited ticket

Action performed by Martian on Dec 16th 2008, 12:59

Linked ticket with changeset: r9470

Action performed by Anonymous (I am too lazy to register) on Apr 18th 2009, 17:22

Changed ticket status from "New" to "Fix completed in SVN"

Action performed by Acyd Burn (Server Manager) on Apr 18th 2009, 17:22

Ticket details

Related SVN changesets