Closed (won't fix)
Project:
Drupal core
Version:
4.6.9
Component:
statistics.module
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Aug 2005 at 13:25 UTC
Updated:
25 Aug 2006 at 17:29 UTC
Jump to comment: Most recent file
Comments
Comment #1
jacauc commentedHas anyone seen this issue before?
FYI, i have moved the test site into production, so it is now running on http://www.dieinter.net
Please help!
Thanks
jacauc
Comment #2
killes@www.drop.org commentedI think it could have happended that the user in question did not have the "access administarion pages" permission but the "access statistics" permission.
Comment #3
jeremy commentedIndeed, easily duplicated.
Part of the confision is that pre-4.6 there were two options, "access statistics" and "administer statistics". The former made content view counters visible, the latter made the accesslog visible. The problem was that "access statistics" was redundant with another "make content view counters visible" option on the statistics module configuration page.
Unfortunately, I believe the wrong permission was removed. On my site, I want to be able to let registered users view the view counters (primarily as they are interested in their personal blogs), but not anonymous users.
The attached patch removes the option on the statistics module configuration page, and renames the "access statistics" permission to "access accesslog". Additionally, it adds a new "access content view counters" permission. By default, if content view counters are enabled only the administrator will be able to see them until the permission is assigend to other roles.
I've attached a patch for 4.6.3, as that's what the bug is against. But I'll post another patch for cvs.
Comment #4
jeremy commentedHere is the patch for cvs.
Comment #5
Crell commentedDoesn't apply.
Comment #6
magico commentedShould be worked for 4.6.9?
Comment #7
magico commentedIt seems that 4.7 has the missing permission without using this patch.
Marking this as "won't fix" due to the low interest in it