[Zope-CMF] Security Question

seb bacon seb@jamkit.com
Sun, 10 Feb 2002 18:28:39 +0000


Chris Withers wrote:
> Dieter Maurer wrote:
> 
>>Chris Withers writes:
>> > I want certain members to be able to create Folders and Documents but other
>> > users only to be able to create Documents. How would I go abotu doing this?
>>Protect "PortalFolder" and other portal content by different permissions.
>>
> 
> How would I go about doing that?

in the __init__ of CMFDefault, all the PortalContent factory methods are 
registered with a single permission, all at once ('add portal content'). 
  just register them separately.