Needs review
Project:
Content moderation
Version:
6.x-1.9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Nov 2011 at 15:36 UTC
Updated:
24 Nov 2011 at 15:38 UTC
Hi,
I work with the dev version found on Github : https://github.com/Unifex/content_moderation
Anonymous can access paths like node/[nid]/lastest_revision.
To solve the problem, i changed lines 39 and 40 :
'access callback' => '_node_revision_access',
'access arguments' => array(1),With :
'access callback' => '_content_moderation_access',
'access arguments' => array('view revision',1),Hope this could help.
Comments
Comment #1
eugenmayer commentedthank you for the contribution! Did not look deeply into this yet, but looks obvious
Comment #1.0
eugenmayer commentedtypo