You are here

function restrict_by_ip_perm in Restrict Login or Role Access by IP Address 6.3

Same name and namespace in other branches
  1. 5 restrict_by_ip.module \restrict_by_ip_perm()
  2. 6 restrict_by_ip.module \restrict_by_ip_perm()
  3. 6.2 restrict_by_ip.module \restrict_by_ip_perm()

Implementation of hook_perm().

File

./restrict_by_ip.module, line 78
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_perm() {
  return array(
    'administer restrict by ip',
  );
}