[Zope-CMF] Actions based on state.

Luca Olivetti luca@wetron.es
Thu, 02 Jan 2003 15:13:51 +0100


Patrick  wrote:
> Hello,
> 
> I was wandering how I would go about restricing certain actions, 
> based on the state of an object.  For example, I have defined a 
> workflow, with the final state being approved.  Once an item is 
> approved, it cannot be changed.  I want the revise option to only be 
> available when the object is in the Approved state.  Thanks for any 
> advice.

If you are using DCWorkflow you define the permissions you want to 
manage through the workflow in the "permissions" tab of the workflow, 
then in each state you can select the desired configuration for these 
permissions.

Bye
-- 
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004      Fax +34 93 5883007