I have the statistics module enabled but I want to see node counters only when I am logged in as super user. I don't want my users to see them.

So I have "display counter values" set to enabled under administrer > settings > statistics and all roles unchecked under administer > access control > statistics module > access statistics.

And still when I log out (anonymous user role) nodes display the node counter.

I know this worked under 4.5.2. and was VERY convenient. Is this a feature or a bug in 4.6.0RC?

Thanks,

JC

CommentFileSizeAuthor
#1 statistics_8.patch774 bytesUwe Hermann

Comments

Uwe Hermann’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new774 bytes

Confirmed in HEAD. Patch attached.

dries’s picture

Status: Reviewed & tested by the community » Needs work

I don't think this is a bug. The permission check won't work because it gives users access to the admin pages.

Jaza’s picture

Version: x.y.z » 4.7.x-dev
Status: Needs work » Closed (fixed)

Patch no longer needed, since statistics.module now has a 'view post access counter' permission, which is checked in statistics_link().