[Zope] Restricting Z-Class Creation
Itamar Shtull-Trauring
itamars@ibm.net
Sun, 28 Nov 1999 09:30:30 +0200
Stephen Pitts wrote:
>
> How can I restrict the folders that a Z-Class can be created in?
If a ZClass ItemClass is created inside an ObjectManager or Folder ZClass -
FolderClass, you'll only be able to add ItemCLass instances in
FOlderclasses.
> Also, I've subclassed from Folder to create a folderish Z-Class; how do I
> control what can be added to it?
You can do it on an instance by instance basis using permissions. If you
want to set this for all instances you need to subclass from ObjectManager
instead, and then there's a "Subobjects" tab that lets you set this.
--
Itamar S.T. itamars@ibm.net