Only user #1 can add content to books

druppi - July 3, 2009 - 04:37
Project:BookMadeSimple
Version:6.x-2.1
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

In function book_made_simple_link it is checked for user_access('create book content'). As this is not an existing user access string, it is only true for user #1. The correct function call should read user_access('add content to books'). I found this in book.module, line 43.

What about a dev version prior to official releases?

#1

MarcElbichon - July 3, 2009 - 06:50

Corrected in version 2.2 .

Dev versions are located at http://code.google.com/p/mmr-drupal-modules/downloads/list, official releases in Drupal

#2

MarcElbichon - July 6, 2009 - 07:58
Status:active» closed
 
 

Drupal is a registered trademark of Dries Buytaert.