[Zope-CMF] Re: [dev] enhancing Actions: a rough proposal

Lennart Regebro regebro at nuxeo.com
Tue Nov 23 15:23:41 EST 2004


yuppie wrote:
> These are the Action specific properties currently maintained in 
> DCWorkflow transactions:
> 
>     name(=title), url, category
> 
> Given more than one workflow has a transaction like 'publish': Would 
> these properties be different in each workflow or would we define the 
> same properties again and again?

Both... :-) Most publish actions would probably have the same 
properties, the only actual difference beting what workflow the 
transaction belongs to.

But they might be different to.

> Actions and transactions don't have to be unrelated if they are stored 
> in different places. The ActionsTool could query the available workflow 
> transactions and return the corresponding Actions. This way we don't 
> have to define redundant permissions / guards / expressions.

Well, unless we make workflows inherit from other workflows, I think we 
need  to continue to be redundant...

-- 
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/


More information about the Zope-CMF mailing list