[Zope-CMF] 'portal_metadata' tool in CVS
Tres Seaver
tseaver@digicool.com
Mon, 7 May 2001 10:02:25 -0400 (EDT)
On Mon, 7 May 2001, marc lindahl wrote:
>
>
> > From: Tres Seaver <tseaver@digicool.com>
> >
> > The "Security" tab on your 'ManagerDocument' governs access to
> > the type object itself; because the 'folder_factories' method
> > expects to query each type object, your settings throw it off.
> > Try changing the loop to be:
> >
> > <dtml-in allowedContentTypes skip_unauthorized>
> >
>
>
> That worked! Is that a bug? seems it should work that way... makes me
> wonder where else allowedContentTypes is being called...
It isn't exactly a bug; being able to "hide" the type object
by tweaking the Security tab settings on it is an "unintended
feature." :)
AFAIK, only 'folder_factories' calls 'allowedContentTypes'.
Tres.
--
===============================================================
Tres Seaver tseaver@digicool.com
Digital Creations "Zope Dealers" http://www.zope.org