Node Template Removing Access To Nodes

j_orbin - December 1, 2007 - 09:46
Project:Node Template
Version:5.x-1.9
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hello -

I am having a serious problem with the Node Template Module. I am using Drupal 5.3, Apache 2.2.6, PHP 5.2.5 and MySQL 5.0 on an Windows 2003 box. I installed Node Template and everything went fine. I created a node template based on a book and, again, everything went fine. However, when I went in as my test user to view the book, I found I could not edit the book I had cloned and I could not see any other book (including the clone!). Now when my test user (or any user other than Admin) create a book page, it doesn't show up. Admin can see it but no one else. I've checked all the obvious problems - access, filters, status, etc. - and have gone through the code backwards and forwards but I can't see what it could possibly have changed to remove access. I've also gone through the database looking for trouble and I can't find anything obvious either. Truly stumped. Also, strangely, my test user now gets Access Denied on Pages.

I have Skeleton installed as well (I was evaluating both modules) as well as Scheduler, Diff and Bio (not that I think they should have conflicted). It seems like something has changed an access routine somewhere and trashed my "Authorized Users." This is critical because I demo this site on Monday and am not looking forward to a total rebuild...

Thanks for your help-

Jim

#1

j_orbin - December 1, 2007 - 22:46
Priority:critical» normal

I found the issue. For some reason, Node Template changed my permissions settings but (thanks to a post by Very Misunderstood), I realized that I just needed to rebuild my permissions table. Did that and it looks fixed!

You may want to look into why it does that - I would have liked to use this module but it is just not possible considering this bug. Or perhaps I should have rebuilt my permissions after I installed. Don't know. In any case, perhaps this will help someone else.

 
 

Drupal is a registered trademark of Dries Buytaert.