Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am busy upgrading to the latest version of drupal, and i noticed the the following 4 menu items show up directly under the Site Navigation Menu for normal authenticated users (it should only be available for Admin users, and it should show under Administer>logs menu
top pages
top visitors
recent hits
referrers
Thanks for the help!
Cheers
jacauc
http://www.dieinter.net (current production site)
http://www.dieinter.net/backup/sandpit/beta3 (new site - giving me problems)
Comment | File | Size | Author |
---|---|---|---|
#4 | statistics.module-cvs.patch | 1.62 KB | Jeremy |
#3 | statistics.module-4.6.patch | 1.64 KB | Jeremy |
Untitled_0.jpg | 30.26 KB | jacauc |
Comments
Comment #1
jacauc CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: Jeremy commentedHere is the patch for cvs.
Comment #5
Crell CreditAttribution: Crell commentedDoesn't apply.
Comment #6
magico CreditAttribution: magico commentedShould be worked for 4.6.9?
Comment #7
magico CreditAttribution: 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