Closed (duplicate)
Project:
G̶o̶o̶g̶l̶e̶ A̶n̶a̶l̶y̶t̶i̶c̶s̶ A̶P̶I̶ (obsolete)
Version:
6.x-1.0-alpha1
Component:
Miscellaneous
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Sep 2009 at 10:26 UTC
Updated:
9 Jan 2010 at 02:15 UTC
Jump to comment: Most recent file
Comments
Comment #1
bls20 commentedno one can shed any light?
Comment #2
rfarm commentedI haven't tried to enable block am simply trying to use the report at admin/google-analytics/report. When logged in as admin I can view the report and it works however I do not have 'access Google Analytics reports' showing up in Permissions so am unable to grant permission to another user to view report.
I can see the hook_perm in google_analytics_reports.module but it is not working for some reason.
I'm missing something here but can't seem to find the problem.
Any clue how to fix this?
Thanks!
Comment #3
rfarm commentedduplicated my own comment, sorry
Comment #4
bls20 commentedrfarm, yup exactly the same problem, and i still haven't figured it out, please let me know if you make and headway.
Cheers.
Comment #5
bls20 commentedAm i missing something here, my authenticated users can't see the analytics data for their own nodes, is this a bug or normal functionality?
Comment #6
collin_ph commentedThere is a BUG in this program in google_analytics_reports.module
line 41
should change from
function google_analytics_reports_api_perm() {
to
function google_analytics_reports_perm() {
If I knew how to submit a patch request I would.
If you change this line, you'll get a new permission called "access Google Analytics reports" that you can grant.
Comment #7
rfarm commentedThanks, collin_ph!
Comment #8
hass commented#6 sounds like this bug, untested patch attached.
Comment #9
karens commentedThis is a no-brainer. Permissions won't work without this. The good news is that the 'broken' part is not that people without permissions are seeing it, it's that only User #1 can see it.
Comment #10
jkitching commentedFixed bug 651960, also solving this issue.