Modify

Ticket #578 (new task)

Opened 3 years ago

Last modified 3 years ago

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:1 Changed 3 years ago by anna

  • Description modified (diff)

comment:2 Changed 3 years ago by anna

  • Owner set to dave

comment:3 Changed 3 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

comment:4 Changed 3 years ago by anna

  • Owner dave deleted

comment:5 Changed 3 years ago by anna

  • Priority changed from major to critical

making this critical, as its already been done for videos and callouts, so should be finished in this milestone (re-assigned to Unweb simply to manage the migration stuff together)

comment:6 Changed 3 years ago by and

  • Priority changed from critical to major

comment:7 Changed 3 years ago by and

  • Milestone changed from 4.2 Beta (Features - Content Sharing Focus) to 4.5 Beta Refactoring
View

Add a comment

Modify Ticket

Action
as new
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.