--- documentViewer/documentViewer.py 2006/06/14 16:24:10 1.13 +++ documentViewer/documentViewer.py 2006/07/06 16:01:42 1.14 @@ -142,11 +142,13 @@ class documentViewer(Folder): 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 @@ def manage_addDocumentViewerTemplate(sel return '' - \ No newline at end of file +