Форуми / Cotonti / Bugs / Poll bug?

Kingsley
#1 17.07.2012 21:32

Hi guys

with the latest version of Siena: Guests can still vote on polls, even though I only gave them read rights. Is this correct, or is this a bug?

Twiebie
#2 17.07.2012 22:38

Yep, same problem here. Doesn't seem to be correct.

GHengeveld
#3 17.07.2012 23:24

Current polls implementation only checks if userid / ip has voted before, not if he/she has write auth. cot_auth() is only used on polls standalone view to check read auth, that's the only use of cot_auth in the whole thing. I suppose it needs some refactoring.