[Zope-CMF] [dev] small WebDAV improvement

yuppie y.2004_ at wcm-solutions.de
Sun Aug 22 14:51:29 EDT 2004


Hi!


If there are no objections or better ideas, I'd like to add this code to 
PortalFolder (CMF 1.5 and HEAD):

     def listDAVObjects(self):
         if _checkPermission(ManagePortal, self):
             return self.objectValues()
         else:
             return self.listFolderContents()

This way hidden objects like tools are only shown to managers.


Cheers,
	Yuppie




More information about the Zope-CMF mailing list