In working with the collaborative book for 4.5, it appears that it has lost some of it's wiki-like flexibility. It's more restrictive. Maintain books no longer allows a user to edit a book page; they can only create new pages. That is, unless they have the administer node permission, which would give them permissions to edit all node types.

I suspect that this is somehow related to the addition of the "edit own book pages." My suggestion would be to make this a toggle which allows those with maintain book pages to either edit all book pages or only their own.

Marking this as critical since the collaborative book has lost much of it's collaboration feature. Note at the moment many Drupal community members cannot edit the Drupal handbook. They can only add new pages.

Comments

cel4145-at-cyberdash.com’s picture

Just logged in under another username using drupal distributed login. Even though the "edit" tab is not appearing for book pages, I can enter the node//edit url. So it appears to be not a loss of functionality, just a loss of the link. Still a major problem.

cel4145’s picture

Note also that the "edit own book pages" appears to work incorrectly. That permission must be checked for a user to be able to edit all book pages. Perhaps this should be a separate issue, but it could all be interrelated.

cel4145’s picture

So that my site users will see an edit link, I ended up inserting the following code after line 69 in book.module when "edit own book pages" is enabled. This allows them to see an edit link for all book pages:

   if  (user_access('edit own book pages')) {
	$links[] = l(t('edit this page'),'node/' .  $node->nid . '/edit', array('title' => t('Edit this book page.')));
   }
matt westgate’s picture

Marking this as a duplicate of #12466.