Content in moderation viewable for anonymous user (i.e. everyone)
Roderik - August 15, 2007 - 01:41
| Project: | modr8 |
| Version: | 5.x-2.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
The modr8 module is designed such that only people with modr8 priviliges AND the user who submitted the node, are able to see the submitted node in lists while it is in moderation.
Well, that should not be the case for 'the anonymous user'. Currently, if an anonymous user submits a node that goes into the moderation queue, everyone still see this node _unless_ they are logged in!
This little patch fixes that.
(Oh, and I slightly changed a comment. I hope you don't mind.)
| Attachment | Size |
|---|---|
| donotlistforanonymous.patch | 1.14 KB |

#1
hmm, good catch - let me test.
#2
slightly altered patch committed to HEAD, and will be committed to the 5.x branch
#3