You are here

constant PRIVATE_GRANT_ALL in Private 7

Same name and namespace in other branches
  1. 8.2 private_content.module \PRIVATE_GRANT_ALL
  2. 8 private_content.module \PRIVATE_GRANT_ALL
  3. 7.2 private.module \PRIVATE_GRANT_ALL
2 uses of PRIVATE_GRANT_ALL
private_node_access_records in ./private.module
Implements hook_node_access_records().
private_node_grants in ./private.module
Implements hook_node_grants().

File

./private.module, line 14
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

define('PRIVATE_GRANT_ALL', 1);