[Community-desktop] Re: Folder Listing When Connecting to PloneSitevia Enfold Desktop - usability etc....
Andy McKay
andy at enfoldsystems.com
Mon Jun 26 11:22:23 CDT 2006
> However I've got a set of users who will all be managers of
> the site but I don't want them to see all the root ZMI stuff.
> Is there a user setting I can use for this?
There is no button to push unfortunately, the offending piece of code in
your case is:
# protected by 'WebDAV access'
def listDAVObjects(self):
# List sub-objects for PROPFIND requests.
# (method is without docstring to disable publishing)
#
if _checkPermission(ManagePortal, self):
return self.objectValues()
else:
return self.listFolderContents()
Hiding in CMFCore/PortalFolder.py. You'd have to change that or monkey
patch it to just do:
# protected by 'WebDAV access'
def listDAVObjects(self):
return self.listFolderContents()
Hope that helps.
More information about the Community-desktop
mailing list