Although the user does not have appropriate permission to view visitorinfo map, but can see it. Only roles with enabled "administer node" permission can see visitorinfo map with info balloons.

Comments

twooten’s picture

Anyone with "access content" permissions can view the map.

miljats’s picture

This is true, but only the map without visitors info in my case.

Lazarus-Long’s picture

Just go into visitorinfo.module, line 44.

Change:
'access arguments' => array('access content'),
to:
'access arguments' => array('access visitorinfo'),

Problem solved.

klonos’s picture

is this in the cvs/latest dev builds?

klonos’s picture

never mind... I checked and it is not.

twooten’s picture

Status: Active » Fixed

Fixed in 6.x-1.4

klonos’s picture

@twooten: you say it is fixed in 1.4, but I still see 'access arguments' => array('access content'), instead of 'access arguments' => array('access visitorinfo'), in line 44 of the visitorinfo.module file. Was this one-liner in #3 simply meant to be a workaround for this issue? I am asking because you could have just missed it(?)

If it was fixed by some other change in the code, never mind.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.