You are here

function activity_comments_permission in Activity 7

Implements hook_permission().

File

activity_comments/activity_comments.module, line 12
Provides comment handling for activity messages

Code

function activity_comments_permission() {
  return array(
    'administer activity comments' => array(
      'title' => t('administer activity comments'),
      'description' => t('Be able to administer all Activity comments.'),
    ),
    'activity post comments' => array(
      'title' => t('activity post comments'),
      'description' => t('Ability to post comments on Activity messages.'),
    ),
    'activity comments delete own' => array(
      'title' => t('activity comments delete own'),
      'description' => t('Be able to delete their own comments.'),
    ),
  );
}