At the moment there is no difference in permissions on accessing & posting comments. When you can't post comments you are not allowed to see heartbeat comments.

Here a patch to change this behaviour

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Stalski’s picture

Status: Needs review » Fixed

I agree in node context, this is needed. But I changed the code so that it works for heartbeat_comments as well.
Such comments don't have permissions other than being able to post them (for now). The heartbeat comment itself is supposed to be more public or "open" than node specific comments.


    if ($heartbeatActivity->message_nid_cache && $heartbeatActivity->additions->node_comment) {
      $heartbeatActivity->additions->can_comment = user_access('post comments');
      $heartbeatActivity->additions->access_comment = user_access('access comments');
    }
    else {
      $heartbeatActivity->additions->can_comment = user_access('add heartbeat comment');
      $heartbeatActivity->additions->access_comment = $heartbeatActivity->additions->can_comment;
    }

So I hope you can live with this minor adjustment. Pushed to git.

Status: Fixed » Closed (fixed)

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