[Zope-CMF] Administering CMF discussions
Tres Seaver
tseaver@zope.com
Mon, 07 Jan 2002 11:39:22 -0500
D.Turpie@open.ac.uk wrote:
>>The CMF includes the option to allow discussion on the different portal
>>types (document, news item etc.).
>>
>>I have managed to allow discussion to happen but wondered how this could
>>be administered.
>>I don't seem to be able to edit or delete discussion items and wondered if
>>there was a patch or update for this?
The current discussions UI reflects a policy that discussions are
immutable; to change the policy, you will need to add a custom skin
to expose the method, 'deleteReply' (found in class,
CMFDefault.DiscussionItem.DiscussionItemContainer). This method is
protected by the 'Manage portal' permission.
To make DiscussionItems editable, just add an action to the
'DiscussionItem' type object in 'portal_types':
ID: edit
Name: Edit
Action: document_edit_form
Permissions: Manage portal
Category: object
Visible: yes
Tres.
--
===============================================================
Tres Seaver tseaver@zope.com
Zope Corporation "Zope Dealers" http://www.zope.com