You are here

function comment_perm in Drupal 4

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

Implementation of hook_perm().

File

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

Code

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