# HG changeset patch # User casties # Date 1152201702 -7200 # Node ID 0c8ee8fcfd76413747251cfd5aa552e7781ab56b # Parent 749ee5389892a88d6e78004dadf313998045a587 some more logging diff -r 749ee5389892 -r 0c8ee8fcfd76 documentViewer.py --- a/documentViewer.py Wed Jun 14 18:24:10 2006 +0200 +++ b/documentViewer.py Thu Jul 06 18:01:42 2006 +0200 @@ -142,11 +142,13 @@ def isAccessible(self, docinfo): """returns if access to the resource is granted""" access = docinfo.get('accessType', None) + zLOG.LOG("documentViewer (accessOK)", zLOG.INFO, "access type %s"%access) if access is None: # no information - no access #TODO: check return True elif access == 'free': + zLOG.LOG("documentViewer (accessOK)", zLOG.INFO, "access is free") return True elif access in self.authgroups: # only local access -- only logged in users @@ -517,4 +519,4 @@ return '' - \ No newline at end of file +