Implement hook_node_access based on field value I need to implement hook_node_access based on field value, which I can get only via $form variable. At the moment I cannot do this because I only have variables ($node, $op, $account) available in hook_node_access. Could you please help me to find the way how to implement something like:

if ($form['...']['...'] == 'TRUE') {return NODE_ACCESS_ALLOW;}
You don't need the node form to access its fields to check for conditional access. Use the field data in your node object.

if($node-&gt;my_field_name[LANGUAGE_NONE][0]['value'] == 'TESTED_VALUE') {
  return NODE_ACCESS_ALLOW;
}