book_access_init()

agentrickard - November 30, 2007 - 20:33
Project:Book access
Version:5.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Harry Slaughter
Status:closed
Description

I quickly read through the code in CVS. Looks good.

I don't think you need this function. It seems to be in place for anonymous users and cached pages, but enabling your module should clear the cache and rebuild the permissions to those nodes.

Not sure why this is in forum_access module. I don't use it for Domain Access, but I haven't done extensive testing of node access modules and cache.

og_init() doesn't do anything like this either, and it's the mother of all node access modules.

#1

Harry Slaughter - December 1, 2007 - 10:57
Assigned to:Anonymous» Harry Slaughter

yeah, i looked at it for a while and just couldn't understand what it was for. cached pages don't circumvent the grants process. don't know why you'd need a special case to deny access.

#2

Harry Slaughter - December 6, 2007 - 01:49
Status:active» fixed

ok, removed this from latest version.

shouldn't break anything :)

#3

Harry Slaughter - December 11, 2007 - 22:13
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.