Index: modules/node/node.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.module,v
retrieving revision 1.724
diff -u -r1.724 node.module
--- modules/node/node.module	10 Nov 2006 19:40:23 -0000	1.724
+++ modules/node/node.module	11 Nov 2006 01:21:09 -0000
@@ -2582,6 +2582,8 @@
  *   TRUE if the operation may be performed.
  */
 function node_access($op, $node = NULL) {
+  global $user;
+
   // Convert the node to an object if necessary:
   if ($op != 'create') {
     $node = (object)$node;
@@ -2610,6 +2612,10 @@
     return $access;
   }
 
+  if (is_null($uid)) {
+    $uid = $user->uid;
+  }
+
   // If the module did not override the access rights, use those set in the
   // node_access table.
   if ($op != 'create' && $node->nid && $node->status) {
@@ -2629,6 +2635,12 @@
     $result = db_query($sql, $node->nid);
     return (db_result($result));
   }
+
+  // Let authors view their own nodes.
+  if ($op == 'view' && $uid == $node->uid && $uid != 0) {
+    return TRUE;
+  }
+
   return FALSE;
 }
 
