[Zope-CMF] limiting types to add by role
Chris Withers
chrisw@nipltd.com
Thu, 29 Aug 2002 10:40:42 +0100
Dieter Maurer wrote:
>
> For me, it looks like
>
> utils.ContentInit( 'WebCMS Inhalte'
> , content_types=WebCMSClasses
> , permission=EditHaufeContent
> , extra_constructors=WebCMSConstructors
> , fti=Portal.factory_type_information
> ).initialize( context )
>
> utils.ContentInit( 'Member Inhalte'
> , content_types=MemberContentClasses
> , permission=AddPortalContent
> , extra_constructors=MemberContentConstructors
> , fti=Portal.factory_type_information
> ).initialize( context )
Where do these calls live?
cheers,
Chris