# HG changeset patch # User casties # Date 1152894156 -7200 # Node ID fbc7258e4b5c9f1894a22a95ae237bb2e5caead8 # Parent 0c8ee8fcfd76413747251cfd5aa552e7781ab56b changed default access to deny if no access information diff -r 0c8ee8fcfd76 -r fbc7258e4b5c documentViewer.py --- a/documentViewer.py Thu Jul 06 18:01:42 2006 +0200 +++ b/documentViewer.py Fri Jul 14 18:22:36 2006 +0200 @@ -145,10 +145,9 @@ zLOG.LOG("documentViewer (accessOK)", zLOG.INFO, "access type %s"%access) if access is None: # no information - no access - #TODO: check - return True + return False elif access == 'free': - zLOG.LOG("documentViewer (accessOK)", zLOG.INFO, "access is free") + zLOG.LOG("documentViewer (accessOK)", zLOG.INFO, "access is free") return True elif access in self.authgroups: # only local access -- only logged in users diff -r 0c8ee8fcfd76 -r fbc7258e4b5c version.txt --- a/version.txt Thu Jul 06 18:01:42 2006 +0200 +++ b/version.txt Fri Jul 14 18:22:36 2006 +0200 @@ -1,1 +1,1 @@ -DocumentViewer 0.2.5 \ No newline at end of file +DocumentViewer 0.2.6 \ No newline at end of file