[Zope-CMF] Local Roles on folderish object
Tres Seaver
tseaver@zope.com
05 Jun 2003 09:39:41 -0400
On Thu, 2003-06-05 at 05:08, Rainer Thaden wrote:
> Hi,
>
> in a class
>
> class Publication(DefaultDublinCoreImpl, SkinnedFolder, PortalContent):
>
> which acts folderish (i can dump other objects inside) i am not able to
> set local roles via the CMF interface (it does not appear in the
> actions box), but I can set the roles via ZMI.
> In normal PortalFolders it works via CMF interface.
> Do i need to set a flag or similar in my class?
You need to add the "folder_localroles_form" action to your type
information object (in 'portal_types'). Copy it from the action in the
'Folder' type.
Tres.
--
===============================================================
Tres Seaver tseaver@zope.com
Zope Corporation "Zope Dealers" http://www.zope.com