You are here

function _book_access_outline_remove_access in Book access 7.2

Determines if the user can remove nodes from the outline.

See also

book_access_menu_alter()

1 string reference to '_book_access_outline_remove_access'
book_access_menu_alter in ./book_access.module
Implements hook_menu_alter().

File

./book_access.module, line 1196
Allows to set the access control for book nodes on a per book basis. Based on forum_access.module and tac_lite.module.

Code

function _book_access_outline_remove_access($node) {
  $bool = !empty($node->book['bid']) && $node->book['bid'] != $node->nid && _book_access_outline_access($node);
  return $bool;
}