You are here

function restrict_by_ip_permission in Restrict Login or Role Access by IP Address 7.3

Implementation of hook_permission().

File

./restrict_by_ip.module, line 81
Allows the admin to select which ip addresses role or a user can login from for this site Some of the code below is taken from the cck_ipaddress_module

Code

function restrict_by_ip_permission() {
  return array(
    'administer restrict by ip' => array(
      'title' => t('Administer restrict by ip'),
      'description' => t('Create, edit and delete rules for restricted IP login.'),
      'restrict access' => TRUE,
    ),
  );
}