Opened 4 years ago
Last modified 1 year ago
TracPermissions are not enforced in the PollMacro. The poll should not be modifiable if the user does not have write access to the page.
This might be better as an option, as we only allow developers to modify the wiki but I can imagine a general poll being useful
something along what AddCommentMacro uses? the appendonly parameter?
I was thinking about adding a showcount or something so you don't see the list of users.
Yes, permissions like AddCommentMacro were what I was thinking of. The showcount idea would be difficult to achieve, as the comments are just added to the body of the page like a normal Wiki edit. It could be an idea though.
showcount wouldn't be that hard actually, the results are not in the body of the post, they are in a seperate file that you specify at the top of the wiki macro.
http://darkwarriors.kodekoan.com/cgi-bin/trac.cgi/wiki/ideaCombatXP?action=edit vs http://darkwarriors.kodekoan.com/cgi-bin/trac.cgi/wiki/ideaCombatXP
the data is not stored inside.
Whoops, sorry about that...I was thinking of counting and AddCommentMacro :)
#54 is related to this, but specifically regarding anonymous users.
Milestone 0.9 deleted
Fixed when the PollMacro was ported to a plugin