You are here

function site_disclaimer_permission in Site Disclaimer 7

Implements hook_permission().

File

./site_disclaimer.module, line 73
This module adds Site Disclaimer to the registration page.

Code

function site_disclaimer_permission() {
  return array(
    'administer site disclaimer' => array(
      'title' => t('Administer site disclaimer'),
      'description' => t('Perform administration tasks for site disclaimer.'),
    ),
    'bypass site disclaimer' => array(
      'title' => t('Bypass site disclaimer'),
      'description' => t('Bypass the site disclaimer upon logging in.'),
    ),
  );
}