function private_content_enable in Private 8
Implements hook_enable().
A node access module needs to force a rebuild of the node access table when it is enabled to ensure that things are set up.
File
- ./
private_content.module, line 29 - A tremendously simple access control module -- it allows users to mark individual nodes as private; users with 'access private content' perms can read these nodes, while others cannot.
Code
function private_content_enable() {
node_access_needs_rebuild(TRUE);
}