Posted by david_first on December 28, 2012 at 5:27pm
Hi all,
I want to control accessing a content-type through hook_access (and skip node_access table). The thing is the content-type is not a module content-type but a CCK content-type, so by default hook_access won't work.
In order for hook_access to work with my CCK content-type I changed the 'module' field of 'node_type' table to be the name of my module.
This workaround works great. The question is what are the consequences of this move, or what bugs do I need to expect now?
Thanks.