]> source.dussan.org Git - redmine.git/commitdiff
bug in read only access handling
authorNicolas Chuche <nicolas.chuche@barna.be>
Sun, 31 Aug 2008 12:11:49 +0000 (12:11 +0000)
committerNicolas Chuche <nicolas.chuche@barna.be>
Sun, 31 Aug 2008 12:11:49 +0000 (12:11 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1776 e93f8b46-1217-0410-a6f0-8f06a7374b81

extra/svn/Redmine.pm

index 09a85fb0932771e0e96a1f7eaa557be670584a67..2619196c7a1e77c32251f30c70f3e9047209af26 100644 (file)
@@ -200,7 +200,7 @@ sub access_handler {
   }
 
   my $method = $r->method;
-  return OK if defined $read_only_methods{$method};
+  return OK unless defined $read_only_methods{$method};
 
   my $project_id = get_project_identifier($r);