[Zope-CMF] Changing permissions on CMF types
Dieter Maurer
dieter@handshake.de
Tue, 2 Jul 2002 21:12:57 +0200
Michael LaPera writes:
> I am using Plone and I have a custom portal_type "MailMessage" (a la
> CMFMailn) with the actions ("view", "send", "redirect", "forward",
> "reply"). When an object is added I would like only the actions "view"
> and "send" to be available, but after a member sends the email I want to
> hide the "send" action and make available the "redirect" and "forward"
> actions.
Look at DCWorkflow (--> Zope.org). It allows permissions to change
with workflow states.
In your case, sending the message would change the workflow state...
Dieter