The book permissions in today's cvs are not consistent with the rest of Drupal. We have a "maintain books" and a "edit own book pages" permission. All other modules have a "create foo" permission. Thus the existing "maintain books" permission should be renamed to "create book pages" and a new "maintain books" permission should be introduced that allows editors to update book pages they haven't created themselves even without having "administer nodes" permission.

The attached patch does this.

Note: The patch to book_load (http://drupal.org/node/view/6464) removed the obligatory "revisions" setting. Thus some people will wonder why they can't let others edit their book pages.

CommentFileSizeAuthor
book_8.patch1.77 KBkilles@www.drop.org
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

+1 for this patch.

killes: How does the book_load patch prevent others from editing book pages?

killes@www.drop.org’s picture

(user_access('maintain books') && !$node->moderate && $node->revision)

If I read that right, revisioning must be set to let you update a book page (unless you are the author).

Anonymous’s picture

This never made it into 4.5, so book collaboration is broken.

Dries’s picture

Committed to HEAD.

Anonymous’s picture