I am attempting to use book_access to grant editing and creation permissions to users by role, but it does not seem to be having any effect. Here is how I set it up:

- Installed book_access
- Enabled book_access in Modules
- Created a book called "Lower School" with a number of child nodes, all using the Page content type
- Enabled the book navigation menu for this book
- Created a role called "editor - lower school"
- Created a new user and assigned it to the role "editor - lower school"
- Assigned "Edit pages in this book" and "Delete pages in this book" to the role "editor - lower school"

When this user goes to the pages in the Lower School book, he cannot see the create child page link or the edit tab. If I give the role permission to create, edit, or delete nodes of the Page content type, then the user can do that throughout the entire site, not just in the specified book. As far as I can tell, book_access is having no effect on permissions.

I have rebuilt node access permissions under Post Settings. My node_access table looks extremely uniform, with all nodes in the site like this: gid realm grant_view grant_update grant_delete
0 all 1 0 0

I am running Drupal 6.8 with the following third-party modules installed:

autosave fckeditor ldap_integration scheduler
book_access filefield lightbox2 simplemenu
calendar messaging slideshow
cck image token
date notifications unused
devel image_fupload og views
emfield jquery_media print

Thank you for your help!

Richard

Comments

apaderno’s picture

The module works only for the book content type, the one that in the English interface is shown like Book page; that content type must not confused with the page content type (Page in the English user interface).

Harry Slaughter’s picture

Status: Active » Fixed

the 'book only' problem has been fixed. now that book pages have a special node property that flags them as book pages, i do not need to use the node type value, so any page that can be a book page will be handled by book_access.

kassissieh’s picture

Excellent. I will check give it another try.

kassissieh’s picture

My understanding is that the Drupal 6 version now works with any content type -- a wonderful improvement.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

steve2212’s picture

Status: Closed (fixed) » Active

Hi there

I appreciate your effort. but I think your project wasted my time. I tried several times. Nothing happened. But http://drupalmodules.com/module/book-page-access is working fine. wondering if you check it.

My question is: have you ever tried after you did develop. Maybe working fine. I am still searching where you wrote a proper instruction.

I suggest you've better remove your project from drupal download if you dont intend to waste more people's time.

Harry Slaughter’s picture

Status: Active » Closed (works as designed)

steve2212,

The module works. I'm using it. I have clients that are using it. There may be some small bugs with it, but the basic functionality works.

I believe after installing it, you get a notice that you need to rebuild grants. Did you do this?

And no need for a tone either. That isn't going to get you results.

apaderno’s picture

As he is a Drupal member from just 4 days, he should adopt a different tone when speaking to other people, at least because he knows few things of Drupal.

Anyway, the respect for other people is something he would shows whatever other people know of Drupal.