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

eugenmayer’s picture

Status: Active » Needs review

thank you for the contribution! Did not look deeply into this yet, but looks obvious

eugenmayer’s picture

Issue summary: View changes

typo