Bug 82651 - Fix for inaccessible repos
git-svn-id: svn://svn.office.custis.ru/3rdparty/viewvc.org/trunk@1445 6955db30-a419-402b-8a0d-67ecbb4d7f56remotes/github/custis
parent
76987f0851
commit
7d15648286
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue