You are not logged in Log in Join
You are here: Home » Download Zope Products » Content Management Framework » CMF Documentation » CMF Requirements Documents » CMF Use Cases » Use Case: Configure allowed content types - » View Document

Log in
Name

Password

 

Use Case: Configure allowed content types -

Actor: Site Manager

The site manager of a CMF site can control what types of content can be created by users of the site. This is generally done by restricting the types of content that can be created in CMF folders. You may, for example, decide that site users should only be able to create documents, images and subfolders on the site.

To implement this policy, visit the CMF Site object in the ZMI and click on the Types Tool (named portal_types) in the contents listing of the site object. Click on the Contents tab of the Types Tool to see the listing of available content types for your site.

Each type in the Types Tool has a Properties page that allows you to configure certain options for that type. Types that are logically "containers" (as CMF folders are), provide an option on the properties page to restrict the types of content that may be created in objects of that type.

To make our restriction for CMF Folders, click on the Folder link in the content type listing of the Types Tool. This will take you to the Properties view of the CMF Folder type. Among other properties of the type, you will see a field called "Allowed content types". Opposite the field label is a multiple selection list containing each of the types installed on your site. To arrange for folders to only contain documents, images and other subfolders, select Document, Image and Folder from the multiple select list and click the Save Changes button.

You may use this same approach to restrict the contents of other container types on your site.