Mercurial > hg > documentViewer
changeset 41:0c8ee8fcfd76
some more logging
author | casties |
---|---|
date | Thu, 06 Jul 2006 18:01:42 +0200 |
parents | 749ee5389892 |
children | fbc7258e4b5c |
files | documentViewer.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 +