1 comment.module comment_permission()

Implements hook_permission().

File

core/modules/comment/comment.module, line 416
Enables users to comment on published content.

Code

function comment_permission() {
  return array(
    'administer comment settings' => array(
      'title' => t('Administer comment settings'),
      'description' => t('Configure comment settings per content type.'),
    ),
    'administer comments' => array(
      'title' => t('Administer comments'),
      'description' => t('Edit, delete, unpublish, etc. comments at <em>/admin/content/comment</em>.'),
    ),
    'access comments' => array(
      'title' => t('View comments'),
    ),
    'post comments' => array(
      'title' => t('Post comments'),
    ),
    'skip comment approval' => array(
      'title' => t('Skip comment approval'),
    ),
    'edit own comments' => array(
      'title' => t('Edit own comments'),
    ),
  );
}