You are here

function browscap_permission in Browscap 7

Same name and namespace in other branches
  1. 8 browscap.module \browscap_permission()
  2. 7.2 browscap.module \browscap_permission()

Implements hook_permission().

File

./browscap.module, line 14
Replacement for PHP's get_browser() function.

Code

function browscap_permission() {
  return array(
    'administer browscap' => array(
      'title' => t('Administer Browscap reports'),
    ),
    'view browscap reports' => array(
      'title' => t('View Browscap reports'),
    ),
    'bypass browscap monitoring' => array(
      'title' => t('Bypass Browscap monitoring'),
    ),
  );
}