You are here

function vote_up_down_perm in Vote Up/Down 5

Same name and namespace in other branches
  1. 6 vote_up_down.module \vote_up_down_perm()

Implementation of hook_perm().

File

./vote_up_down.module, line 31
vote_up_down is a module that adds a widget for +1/-1 votes on nodes. It depends upon Voting API. It's based upon "simplevote.module".

Code

function vote_up_down_perm() {
  return array(
    'view up-down vote',
    'use up-down vote',
    'access up-down vote statistic',
    'administer up-down vote',
  );
}