[Zope] Limiting Product use

Dieter Maurer dieter@handshake.de
Fri, 29 Mar 2002 21:15:09 +0100


Christopher N. Deckard writes:
 > We have a custom User Folder Product that we don't want our users to be
 > able to create new instances of.  How do I make the Product not show up to
 > anyone unless they have Manager roles in the root?
 > 
 > I can set the security permissions to not allow them to create it, but it
 > still shows up in the security tab and users could just add it.
There is a visible argument to "registerClass". When you set it to
"None", there will be no entry in the add list of any folder.

You will need to provide a special way to add your product.


Dieter