function _book_outline_access

7.x book.module _book_outline_access($node)
6.x book.module _book_outline_access($node)

Menu item access callback - determine if the outline tab is accessible.

1 call to _book_outline_access()
_book_outline_remove_access in drupal-6.x/modules/book/book.module
Menu item access callback - determine if the user can remove nodes from the outline.
1 string reference to '_book_outline_access'
book_menu in drupal-6.x/modules/book/book.module
Implementation of hook_menu().

File

drupal-6.x/modules/book/book.module, line 151
Allows users to structure the pages of a site in a hierarchy or outline.

Code

function _book_outline_access($node) {
  return user_access('administer book outlines') && node_access('view', $node);
}