Ticket #578 (new task)
Restrict Addable Item Types on Folders
| Reported by: | anna | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 4.8 |
| Component: | PlumiSkin | Severity: | |
| Keywords: | Cc: | ||
| Who will test this: | And |
Description (last modified by anna) (diff)
The add-new drop-down list on the MEMBER FOLDER should allow these items:
Image
File
Folder
Link
Page
It should not, for example, include these items, which it currently does:
event
favourite
news item
plumi callout folder
plumi video folder
The add-new drop-down list for each of the folders Callouts, Videos, News and Events should only include those items (e.g. only Videos should be add-able inside the Videos folder etc.).
Attachments
Change History
comment:3 Changed 2 years ago by dave
This has been done for Plumi_Video_Folder and Plumi_Callout_Folder.
The other folders are standard ATFolders.
setConstrainTypesMode on the folder would need to be done when the folder is created, or on the default_member_folder after it was created, this still leaves the fact that current members folders would need to be updated via a script that iterates thru them, setting constraints.
So there are two places this could be done (unless someone is thinking more laterally than me?)
1/ setting the constraints on default_member_folder after creation (it is created via the method outlined here http://plone.org/documentation/kb/add-a-folder-structure-to-your-product which does not show how constraints could be placed in the process)
2/ setting the constraints during addition of a new user in notifyMemberAreaCreated
