You are here

function advpoll_perm in Advanced Poll 6

Same name and namespace in other branches
  1. 5 advpoll.module \advpoll_perm()
  2. 6.3 advpoll.module \advpoll_perm()
  3. 6.2 advpoll.module \advpoll_perm()

Implementation of hook_perm().

File

./advpoll.module, line 34
Advanced Poll - a sophisticated polling module for voting, elections, and group decision-making.

Code

function advpoll_perm() {
  return array(
    'create polls',
    'edit polls',
    'edit own polls',
    'vote on polls',
    'cancel own vote',
    'administer polls',
    'inspect all votes',
    'show vote results',
    'access electoral list',
    'add write-ins',
  );
}