Here is a patch that checks user_access('access user profiles') before creating the link.

Comments

Anonymous’s picture

Status: Needs review » Fixed

thanks for the patch! committed here:

http://drupal.org/cvs?commit=390184

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.