You are here

function poll_perm in Drupal 5

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

Implementation of hook_perm().

File

modules/poll/poll.module, line 347
Enables your site to capture votes on different topics in the form of multiple choice questions.

Code

function poll_perm() {
  return array(
    'create polls',
    'vote on polls',
    'cancel own vote',
    'inspect all votes',
  );
}