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 |
Jump to:
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
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
ok, removed this from latest version.
shouldn't break anything :)
#3