constant NODE_ACCESS_ALLOW

Modules should return this value from hook_node_access() to allow access to a node.

3 uses of NODE_ACCESS_ALLOW
hook_node_access in drupal/modules/node/node.api.php
Control access to a node.
node_access in drupal/modules/node/node.module
Determines whether the current user may perform the operation on the node.
node_node_access in drupal/modules/node/node.module
Implements hook_node_access().

File

drupal/modules/node/node.module, line 50
The core that allows content to be submitted to the site. Modules and scripts may programmatically submit nodes using the usual form API pattern.

Code

define('NODE_ACCESS_ALLOW', 'allow');