[Zope-CMF] folder_factories and add permissions

Chris Withers chrisw@nipltd.com
Sun, 17 Mar 2002 09:51:26 +0000


Florent Guillaume wrote:
> 
> Actually this could be considered a bug, either
> PortalFolder.invokeFactory or TypesTool.constructContent should
> enforce the allowed types.
> 
> Could a CMF designer comment on this ?

Well, I asked Shane about this a while back. Apparently, the way to handle this
is to control the 'View' permission on the Type object for the type in question.

I tried is, and it din't work, but Shane gave me some pointers and I've checked
in changes such that this now does work in CVS.

cheers,

Chris