You are here

function merci_hours_permission in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3

Implements hook_permission().

File

merci_hours/merci_hours.module, line 10

Code

function merci_hours_permission() {
  $perms = array();
  $perms['administer all merci hours'] = array(
    'title' => t('Administer all merci hours'),
    'description' => t('Perform all administration tasks for merci hours.'),
  );
  $perms['edit own merci hours'] = array(
    'title' => t('Edit own merci hours'),
    'description' => t('Perform tasks for own merci hours.'),
  );
  $perms['delete own merci hours'] = array(
    'title' => t('Delete own mecri hours'),
    'description' => t('Perform tasks for own merci hours.'),
  );
  $perms['create own merci hours'] = array(
    'title' => t('Create own merci hours'),
    'description' => t('Perform tasks for own merci hours.'),
  );
  return $perms;
}