Is it possible to add the ability with this module to give a role permission to add child pages to a book? Right now that seems to be a bit of a pain. A user can have the ability to edit a book but not add child pages.

Comments

nickreal03’s picture

I agree

avpaderno’s picture

Status: Active » Closed (works as designed)

A user can have the ability to edit a book but not add child pages.

In fact, users can add child pages if:

  • they have permission to add pages to books, or they have permission to administer book outlines;
  • AND
  • they have permission to create a node of the content type set as book child content type;
  • AND
  • they have permission to edit the book currently visualized.

Users with permission to administer nodes always can add pages to a book.

stuen93’s picture

are you sure this works correctly with the latest version of book access? It used to work on our sites but with the more recent releases of book access many of our users lost the ability to add child pages.

savedario’s picture

Status: Closed (works as designed) » Active

I have the same issue.

In my setup users should generally be able to see and contribute to certain books, but not even see certain other books.
If I setup the permissions to allow a role to add content to a book, automatically I allow that role to also edit content posted by other users.
If I take off the permission, the 'Add child page' link disappears.
I understand the intended meaning of granting update access to role/group in the wiki-like spirit of "let's contribute to the book all together".
This is questionable in a different setup where users contribute and a moderator/admin oversees the process, like building a library of selected content.

I am working on a small patch that I will submit once I get around to learn how to do so.

savedario’s picture

Version: 6.x-1.0-rc5 » 6.x-1.0-rc6
StatusFileSize
new1.53 KB

Here it is.

I hope this was done correctly.

I know it would have been better to have the setting at book level, but... I wanted to keep this simple for now, waiting to see how it is accepted.

Anonymous’s picture

Branch 6.x-2 implements the grants grant_admin_access, grant_add_child_page, and grant_edit_outline; it also implement the permissions administer access of any books, and administer access of own books.

Branch 6.x-2 depends on Variables API, which must be first installed.

Anonymous’s picture

Title: Add Child Pages » Add child pages
Anonymous’s picture

Status: Active » Closed (duplicate)