You are here

function badbehavior_permission in Bad Behavior 7.2

Implements hook_permission().

File

./badbehavior.module, line 26
Integrates Bad Behavior with Drupal

Code

function badbehavior_permission() {
  return array(
    'administer bad behavior' => array(
      'title' => t('Administer Bad Behavior'),
      'description' => t('Perform administration tasks for the Bad Behavior module.'),
    ),
    'bypass bad behavior protection' => array(
      'title' => t('Bypass Bad Behavior protection'),
      'description' => t('Don\'t examine the HTTP requests from users with this permission.'),
    ),
  );
}