[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lenya-dev
Subject:    Re: Workflow RoleCondition question
From:       Jörn_Nettingsmeier <nettings () apache ! org>
Date:       2008-01-28 11:23:50
Message-ID: 479DBB46.9060406 () apache ! org
[Download RAW message or body]

Andreas Hartmann wrote:
> Richard Frovarp schrieb:
>> Can someone explain to me why the workflow.xml document specifies
>> roles that can do certain workflow actions? I'm asking because, isn't
>> that the role of the usecase-policies.xml document?
> 
> I see your point, since we have usecase policies the workflow role
> conditions might have become somewhat obsolete.
> 
>> usecase-policies.xml let sitemanagers do everything and is based off
>> of group. workflow.xml only allows one role to do the action, and well
>> is based off of roles.
> 
> Actually both use roles. But a major difference is that the workflow
> schema is assigned to resource types, and the usecase policies apply to
> all documents regardless of their resource type.
> 
> I also have wondered if it might make sense to reconsider these concepts
> and maybe find a more general solution.

good idea. i don't have a really brilliant solution atm, but it would be
great to get rid of workflow transition policies altogether and somehow
translate them into usecase invocations.  i'll take a walk over it... :)



-- 
Jörn Nettingsmeier

"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic