Browse Source

ISLANDORA-171 Add permissoin check for book add pages tab.

pull/105/head
Alexander O'Neill 14 years ago
parent
commit
7dc748b867
  1. 2
      ilives/book.inc

2
ilives/book.inc

@ -180,11 +180,13 @@ class IslandoraBook {
'#content' => fedora_ilives_create_book_view($this->pid),
);
if (user_access('ingest new fedora objects')) {
$tabset['add_pages'] = array(
'#type' => 'tabpage',
'#title' => t('Add pages'),
'#content' => drupal_get_form('book_add_pages_form', $this->pid),
);
}
return $tabset;
}
}

Loading…
Cancel
Save