You are here

function merci_permission in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.2

Implements hook_permission().

2 calls to merci_permission()
merci_permissions_form in modules/merci_permissions/merci_permissions.module
@todo Please document this function.
merci_permissions_settings_form_submit in modules/merci_permissions/merci_permissions.module
@todo Please document this function.

File

./merci.module, line 45
MERCI - Managed Equipment Reservation Checkout and Inventory

Code

function merci_permission() {
  return array(
    'create reservations' => array(
      'title' => t('create reservations'),
      'description' => t('TODO Add a description for \'create reservations\''),
    ),
    'create confirmed reservations' => array(
      'title' => t('create confirmed reservations'),
      'description' => t('TODO Add a description for \'create confirmed reservations\''),
    ),
    'suspend MERCI access' => array(
      'title' => t('suspend MERCI access'),
      'description' => t('TODO Add a description for \'suspend MERCI access\''),
    ),
    'administer MERCI' => array(
      'title' => t('administer MERCI'),
      'description' => t('TODO Add a description for \'administer MERCI\''),
    ),
    'create reservations outside hours of operation' => array(
      'title' => t('create reservations outside hours of operation'),
      'description' => t('TODO Add a description for \'create reservations outside hours of operation\''),
    ),
    'manage reservations' => array(
      'title' => t('manage reservations'),
      'description' => t('TODO Add a description for \'manage reservations\''),
    ),
    'override max hours over closed days' => array(
      'title' => t('override max hours over closed days'),
      'description' => t('TODO Add a description for \'override max hours over closed days\''),
    ),
    'view all reservations' => array(
      'title' => t('view all reservations'),
      'description' => t('TODO Add a description for \'view all reservations\''),
    ),
  );
}