You are here

function fail2ban_permission in Fail2ban Firewall Integration 7.2

Same name and namespace in other branches
  1. 7 fail2ban.module \fail2ban_permission()

Implementation of hook_permission()

File

./fail2ban.module, line 9

Code

function fail2ban_permission() {
  return array(
    'administer fail2ban' => array(
      'title' => t('Administer fail2ban'),
      'description' => t('Configure fail2ban module settings.'),
    ),
    'submit addresses to fail2ban' => array(
      'title' => t('Submit addresses to fail2ban'),
      'description' => t('Allows the user to choose whether or not to send a comment IP address to the firewall.'),
    ),
  );
}