[Zope-CMF] allowedContentTypes

Frank McGeough fm@synchrologic.com
Fri, 17 Aug 2001 10:17:24 -0400


Zope 2.3.3, CMF 1.1
How do I disable certain types of content (for example, file)?
I found folder_factories.dtml in generic, allowedContentTypes in
portalFolder.py. I see the Python code calling allowType(). allowType I
found in TypesTool.py.
The portalTypes folder has Actions and those look like they are tied into
the code above --- but I'm unclear what to do with these in order to disable
a type. Do I simply delete the type? What if I wanted only certain users to
be able to add files?