Here's a patch to that adds a permission for who can view the download and played stats in hook_link().

CommentFileSizeAuthor
audio-stats-perm.patch1.18 KBjjeff

Comments

Colin Brumelle’s picture

Assigned: Unassigned » Colin Brumelle
Colin Brumelle’s picture

This worked great for me. I just committed this...

drewish’s picture

Status: Reviewed & tested by the community » Fixed

if you don't mind, i'd like to leave this out of head for now. people that don't want it can remove it by using the links_alter hook.

Colin Brumelle’s picture

That's cool...

jdblank’s picture

how do you install this patch?

drewish’s picture

it's already installed. i'm going to make a small change to make showing the stats the default permission.

Anonymous’s picture

Status: Fixed » Closed (fixed)