Updates to flight info handling

This commit is contained in:
2014-07-28 11:29:29 +10:00
parent 5984437bff
commit ba8bdca1ec
2 changed files with 168 additions and 13 deletions

View File

@@ -105,6 +105,9 @@ function booking_permission() {
'edit bookings' => array(
'title' => t('Edit all bookings'),
),
'import bookings' => array(
'title' => t('Bulk import booking data from csv'),
),
'view study groups' => array(
'title' => t('View study groups'),
),
@@ -314,7 +317,7 @@ function booking_menu() {
'description' => 'Upload a csv of containing payment data',
'page callback' => 'drupal_get_form',
'page arguments' => array('booking_import_data_admin'),
'access arguments' => array('edit bookings'),
'access arguments' => array('import bookings'),
'type' => MENU_NORMAL_ITEM,
);