You are here

function user_relationship_privatemsg_permission in User Relationships 7

Implements hook_perm().

File

user_relationship_privatemsg/user_relationship_privatemsg.module, line 10
Allows to send messages to all members of a role.

Code

function user_relationship_privatemsg_permission() {
  return array(
    'write privatemsg to relationships' => array(
      'title' => t('Write private messages to relationships'),
      'description' => t('Users with this permission are allowed to write a private message to all related users.'),
    ),
    'view relationship recipients' => array(
      'title' => t('View relationship recipients'),
      'description' => t('Users with this permission will be able to see that a message has been sent to a relationship.'),
    ),
  );
}