Closed (fixed)
Project:
Admin message
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Oct 2012 at 16:21 UTC
Updated:
3 Dec 2012 at 16:10 UTC
When displaying messages in the block, admin_message doesn't check that the current user has permission to 'access content' (it's common for anonymous users to lack this permission on private sites) or check node_access('view', ...) before displaying the individual node.
I have a site where the message block was configured to show at the top of every page and anonymous users didn't have 'access content'. Without this patch, this amounted to anonymous users seeing all the messages - when they should be shown none of them. This patch fixes this problem!
| Comment | File | Size | Author |
|---|---|---|---|
| node_access.patch | 1.38 KB | dsnopek |
Comments
Comment #1
dsnopekCommitted!