function privatemsg_groups_permission in Privatemsg 7.2
Implements hook_permissions().
File
- privatemsg_groups/
privatemsg_groups.module, line 11 - Allows to send messages to all members of an organic group
Code
function privatemsg_groups_permission() {
$permissions = array(
'write privatemsg to all organic groups' => array(
'title' => t('Write private messages to all organic groups'),
'description' => t('Allows to write messages to all users which belong to a specific organic group.'),
),
'write privatemsg to own organic groups' => array(
'title' => t('Write private messages to own organic groups'),
'description' => t('Allows to write messages to all users which belong to own organic group.'),
),
'view organic groups recipients' => array(
'title' => t('View organic groups recipients'),
'description' => t('Ability to view organic groups recipients and the name of these organic groups.'),
),
);
return $permissions;
}