Bug 82651 - Fix for inaccessible repos

git-svn-id: svn://svn.office.custis.ru/3rdparty/viewvc.org/trunk@1445 6955db30-a419-402b-8a0d-67ecbb4d7f56
remotes/github/custis
vfilippov 2011-10-25 16:26:10 +00:00 committed by Vitaliy Filippov
parent 76987f0851
commit 7d15648286
1 changed files with 3 additions and 0 deletions

View File

@ -624,8 +624,11 @@ class CheckinDatabase:
return sql
# Check access to dir/file in repository repos
def check_commit_access(self, repos, dir, file, rev):
r = self.request.get_repo(repos)
if not r:
return False
if r.auth:
rootname = repos.split('/')
rootname = rootname.pop()