[Community-desktop] Re: Folder Listing When Connecting to PloneSitevia Enfold Desktop - usability etc....

Andy McKay andy at enfoldsystems.com
Mon Jun 26 14:57:12 CDT 2006


Bear in mind that only "hides" the problem. Add in a smart folder, turn
syndication on, it will show you hidden options in desktop as a Manager,
because that's how CMF works. Just so you are warned ;)

Hiding folders like that I don't know I'm afraid. 

> -----Original Message-----
> From: michael nt milne [mailto:michael.milne at gmail.com] 
> Sent: Monday, June 26, 2006 11:18 AM
> To: Andy McKay
> Cc: Alan Runyan; community-desktop at lists.enfoldsystems.com
> Subject: Re: [Community-desktop] Re: Folder Listing When 
> Connecting to PloneSitevia Enfold Desktop - usability etc....
> 
> 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 
> 



More information about the Community-desktop mailing list