You are here

function comment_perm in Drupal 6

Same name and namespace in other branches
  1. 4 modules/comment.module \comment_perm()
  2. 5 modules/comment/comment.module \comment_perm()

Implementation of hook_perm().

File

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

Code

function comment_perm() {
  return array(
    'access comments',
    'post comments',
    'administer comments',
    'post comments without approval',
  );
}