[Zope-CMF] Re: [PTK(249)[2] resolved] Re: portal_type not allowed showing on
new content page
Tres Seaver
tseaver@digicool.com
Tue, 10 Apr 2001 13:53:20 -0400 (EDT)
On Tue, 10 Apr 2001, Adrian Madrid wrote:
> Thanks for working so soon in the bug. I have checked
> out the latest CVS and I still have the same problem.
> I checked the source of PortalFolder.py and it has the
> changes you made but still normal members can see
> Article as an option and get into trouble when
> selecting it. Is there something I need to do?
I must confess didn't actually import your product for a test.
How are you mapping the "Article" ZClass into the portal: using
a FactoryTypeInformation object, or a ScriptableTypeInformation
object? I tested with the STI version, because it has an
explicit permission I could tweak to "disallow" the type. What
permission is associated with the factory for your ZClass? And
do normal members have it, perchance?
Tres.
--
===============================================================
Tres Seaver tseaver@digicool.com
Digital Creations "Zope Dealers" http://www.zope.org