To hide Email button is necessary to check the following condition at contact.author-pane.inc:

 global $user;
  if (_contact_personal_tab_access($variables['account']) && $variables['account']->uid != $user->uid) {
CommentFileSizeAuthor
author-pane-hide-contact-7.patch715 bytesSimonLitt
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Scyther’s picture

Status: Active » Closed (works as designed)

In the _contact_personal_tab_access() this check is done. But if you are a user with the permission user_access('administer users') you will still see the link, and I personally think that it is okey for those few that has this permission.