#1 closed defect (fixed)
TracPermissions are not enforced in the PollMacro
| Reported by: | Alec Thomas | Owned by: | Alec Thomas |
|---|---|---|---|
| Priority: | high | Component: | PollMacro |
| Severity: | major | Keywords: | permissions |
| Cc: | halkeye@… | Trac Release: | 0.8 |
Description
TracPermissions are not enforced in the PollMacro. The poll should not be modifiable if the user does not have write access to the page.
Attachments (0)
Change History (15)
comment:1 Changed 20 years ago by
comment:2 Changed 20 years ago by
| milestone: | 1.0 → 0.9 |
|---|---|
| version: | 0.1 → stable |
comment:3 Changed 20 years ago by
| Cc: | halkeye@… added; anonymous removed |
|---|---|
| Summary: | TracPermissions are not enforced in the PollMacro → |
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.
comment:4 Changed 20 years ago by
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.
comment:5 Changed 20 years ago by
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.
comment:6 Changed 20 years ago by
Whoops, sorry about that...I was thinking of counting and AddCommentMacro :)
comment:7 Changed 20 years ago by
| Status: | new → assigned |
|---|---|
| Summary: | → TracPermissions are not enforced in the PollMacro |
comment:8 Changed 20 years ago by
#54 is related to this, but specifically regarding anonymous users.
comment:10 Changed 19 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
| Trac Release: | → 0.8 |
Fixed when the PollMacro was ported to a plugin
comment:11 Changed 17 years ago by
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
comment:13 Changed 17 years ago by
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
comment:14 Changed 17 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |



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