Can book outline administration be restricted to within each vsite?

Events happening in the community are now at Drupal community events on www.drupal.org.
Anonymous's picture

The Books settings page at admin/content/book/settings states that "Users with the administer book outlines permission can add all content types." This is a great feature allowing for users easily group content within their vsite, but it appears to be circumventing the vsite mechanism. With this permission enabled, each and every user appears to have access to (and the ability to add pages!) to any other users book outlines - even when the edit and delete book content permissions are restricted to "own" and explicitly unchecked for "any." This would appear contrary to the idea of virtual sites where there is usually an expectation of isolation of content between user accounts; have I possibly misconfigured something that is breaking the inherent separation or security between virtual sites and individual user accounts? If not, is there a way to easily change this so that users can use book outlines with all content types, but only within their own vsite?

The "scholar booklets" features does seem to preserve isolation between accounts (without requiring the "administer book outlines" permission), but even though overriding the strongarm settings for Books settings can allow the selection of multiple content types for which outlines are allowed (via checkboxes), there is only a single default child page type (radio button) that can be set. With only a single default child page type, it wouldn't seem to matter what other (multiple) types might be checked in the "allowed book outline types" section because the "add child" link in the content page is always going to force a pre-determined and single page type regardless of the content type(s) (set as "allowed") to which the child is being added.

I would prefer the flexibility of using the book outline mechanism with any content type but within a traditional virtual-site context where individual users attempting to create their own book outline content don't see or have access to every other book outline page created by every virtual-site user in the system. Is this easily possible? Thanks in advance for any clarification or suggestions on how this might possibly be achieved.

Comments

It's possible for booklets to

ferdi's picture

It's possible for booklets to have different content types. We are just keeping it simple for now. Actually we tried once but couldnt get the UI right. And there are some special permissions to take into account. i.e. you may decide in a global level to have "announcement" content type in a book, but the vsite can turn the "announcements" feature off or make it private. In that case they should not be able to add announcement in the book or if they do, those nodes should not be displayed publicly i.e display only part of the tree. Which is a bit harder.

Module suggestions

Absolutely, autline_designer

ferdi's picture

Absolutely, autline_designer is something we should consider

outline designer + book manager

btopro's picture

If you want to leverage both then I'd look at the patch I submitted to allow book manager to use outline designer -- http://drupal.org/node/1063686#comment-4104916

Outline Designer 1.3's context menu per role also allows for some additional flexibility so you can remove all the advanced functions of outline designer from lower level content authors.

Don't know how well outline designer plugs in with OpenScholar environments but it integrates quite nicely with ELMS and Eduglu for content outlining.

Is there a way to enable

smatron's picture

Is there a way to enable Administrator outline for users, but the users can only edit book outline for the book they own.
I am using book access module, outline designer.
Drupal v7.22

There is a way

gurtner's picture

Hey smatron, I was having an issue and finally after days of research, stumbled across your mention of the book access module (https://drupal.org/project/book_access) - thanks so much, you saved me from a big headache!

I'm using workbench for workflow and my issue has been that users who assigned to one section, and who owned books and pages assigned to that section, were still able to add pages to other books that were owned by other users assigned to other sections.

Between checking the permission "Administer book outlines" in permissions for Book and configuring Book Access permissions on the specific books, it seems that I'm able to accomplish what you're asking too. However, I'm not using Outline Designer and I'm working in Drupal 7.26, and I got this working in my dev environment, so duplicating my results in production will be my next challenge...

--
Web Developer & Multi-Media Designer
http://gurtnerdesign.com

OpenScholar

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: