[Community-desktop] Re: Folder Listing When Connecting to PloneSitevia Enfold Desktop - usability etc....
michael nt milne
michael.milne at gmail.com
Mon Jun 26 13:18:00 CDT 2006
ok thanks. I guess the way to do it then is to have a folder, say 'content'
at the root and have everything go from there? I know you can set a root
folder in the nav for Plone but got some errors trying to actually hide that
folder. It disppears from the tabs but not from the left nav.
On 6/26/06, Andy McKay <andy at enfoldsystems.com> wrote:
>
> > 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.
>
--
michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.enfoldsystems.com/pipermail/community-desktop/attachments/20060626/40090eee/attachment-0049.htm
More information about the Community-desktop
mailing list