You are here

function bakery_permission in Bakery Single Sign-On System 7.4

Same name and namespace in other branches
  1. 7.2 bakery.module \bakery_permission()
  2. 7.3 bakery.module \bakery_permission()

Implements hook_permission().

File

./bakery.module, line 53

Code

function bakery_permission() {
  return array(
    'administer bakery' => array(
      'title' => t('Administer Bakery'),
    ),
    'bypass bakery' => array(
      'title' => t('Bypass Bakery'),
      'description' => t('Bypass SSO enforcement policy and allow a user to log in without a valid SSO cookie'),
      'restrict access' => TRUE,
    ),
  );
}