You are here

function prod_check_permission in Production check & Production monitor 7

Implementation of hook_permission()

File

./prod_check.module, line 69

Code

function prod_check_permission() {
  return array(
    'administer production check' => array(
      'title' => t('Administer Production Check'),
      'description' => t('Configure Production Check settings.'),
    ),
    'access production check' => array(
      'title' => t("Access Production check's status page"),
      'description' => t('View the report on all checks performed by Production check.'),
    ),
    'switch to production mode' => array(
      'title' => t("Switch to production mode"),
      'description' => t('Allow a user to switch a site to production mode.'),
    ),
  );
}