Closed (fixed)
Project:
Visitor Info
Version:
6.x-1.3
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jan 2010 at 12:22 UTC
Updated:
2 Apr 2010 at 14:10 UTC
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
Comment #1
twooten commentedAnyone with "access content" permissions can view the map.
Comment #2
miljats commentedThis is true, but only the map without visitors info in my case.
Comment #3
Lazarus-Long commentedJust go into visitorinfo.module, line 44.
Change:
'access arguments' => array('access content'),
to:
'access arguments' => array('access visitorinfo'),
Problem solved.
Comment #4
klonosis this in the cvs/latest dev builds?
Comment #5
klonosnever mind... I checked and it is not.
Comment #6
twooten commentedFixed in 6.x-1.4
Comment #7
klonos@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.