--- /home/graehl/isd/apache/orig_new_twiki/lib/TWiki/UI/RDiff.pm Sun Apr 25 18:26:22 2004 +++ lib/TWiki/UI/RDiff.pm Mon Jun 21 16:49:51 2004 @@ -427,7 +427,7 @@ # check access permission my $wikiUserName = &TWiki::userToWikiName( $userName ); my $viewAccessOK = &TWiki::Access::checkAccessPermission( "view", $wikiUserName, "", $topic, $webName ); - if( $TWiki::readTopicPermissionFailed ) { + if( $TWiki::readTopicPermissionFailed ne "") { # Can't read requested topic and/or included (or other accessed topics) # user could not be authenticated, may be not logged in yet? my $rdiffauthFile = $ENV{'SCRIPT_FILENAME'}; --- /home/graehl/isd/apache/orig_new_twiki/lib/TWiki/UI/View.pm Sun Apr 25 18:26:22 2004 +++ lib/TWiki/UI/View.pm Mon Jun 21 17:29:28 2004 @@ -251,7 +251,7 @@ # check access permission my $viewAccessOK = &TWiki::Access::checkAccessPermission( "view", $wikiUserName, $text, $topic, $webName ); - if( $TWiki::readTopicPermissionFailed ) { + if( (!$topicExists) || $TWiki::readTopicPermissionFailed ne "") { # Can't read requested topic and/or included (or other accessed topics # user could not be authenticated, may be not logged in yet? my $viewauthFile = $ENV{'SCRIPT_FILENAME'}; --- /home/graehl/isd/apache/orig_new_twiki/lib/TWiki/User.pm Thu Feb 26 17:52:37 2004 +++ lib/TWiki/User.pm Mon Jun 21 14:18:56 2004 @@ -233,7 +233,7 @@ my ( $wikiName, $remoteUser ) = @_; my $today = &TWiki::formatTime(time(), "\$day \$mon \$year", "gmtime"); my $topicName = $TWiki::wikiUsersTopicname; - my( $meta, $text ) = &TWiki::Store::readTopic( $TWiki::mainWebname, $topicName ); + my( $meta, $text ) = &TWiki::Store::readTopic( $TWiki::mainWebname, $topicName, 1 ); my $result = ""; my $status = "0"; my $line = "";