You are here

function comment_perm in Drupal 5

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

Implementation of hook_perm().

File

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

Code

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