You are here

function user_restrictions_permission in User restrictions 7

Implements hook_permission().

File

./user_restrictions.module, line 58
Specifies rules for restricting the data users can set for their accounts.

Code

function user_restrictions_permission() {
  $perms = array(
    'edit user restriction rules' => array(
      'title' => t('Edit user restriction rules'),
      'restrict access' => TRUE,
    ),
    'bypass user restriction rules' => array(
      'title' => t('Bypass user restriction rules'),
      'restrict access' => TRUE,
    ),
  );
  return $perms;
}