function merci_reservation_permission in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3
File
- merci_reservation/
merci_reservation.module, line 325
Code
function merci_reservation_permission() {
$permissions = array(
'administer merci_reservation types' => array(
'title' => t('Administer merci reservation types'),
'description' => t('Allows users to configure task types and their fields.'),
'restrict access' => TRUE,
),
'create merci_reservation entities' => array(
'title' => t('Create merci reservations'),
'description' => t('Allows users to create merci reservations.'),
'restrict access' => TRUE,
),
'view merci_reservation entities' => array(
'title' => t('View merci reservations'),
'description' => t('Allows users to view merci reservations.'),
'restrict access' => TRUE,
),
'edit any merci_reservation entities' => array(
'title' => t('Edit any merci reservations'),
'description' => t('Allows users to edit any merci reservations.'),
'restrict access' => TRUE,
),
'edit own merci_reservation entities' => array(
'title' => t('Edit own merci reservations'),
'description' => t('Allows users to edit own merci reservations.'),
'restrict access' => TRUE,
),
);
return $permissions;
}