You are here

function httpbl_permission in http:BL 7

Implements hook_permission().

File

./httpbl.module, line 775
Implementation of http:BL for Drupal. It provides IP-based blacklisting through http:BL and allows linking to a honeypot.

Code

function httpbl_permission() {
  return array(
    'admin httpbl' => array(
      'title' => t('Administer Http:BL'),
      'description' => t(''),
      'restrict access' => t(TRUE),
    ),
    'report httpbl' => array(
      'title' => t('Access Http:BL views'),
      'description' => t('View reports on blocked (grey or black-listed) and permitted (white-listed traffic).'),
    ),
  );
}