DCWorkflow -worklists, expressions, roles -- is this a bug?
Hi, I was playing around with DCWorkflows worklists and wondered how the expressions work. I thought about the possibility to give owners the 'Review portal content'-permission in Members-folders. In worklists I first set the permission, but that did not work. Actions from transitions did come visible, but not this new worklist. New worklist came visible for manager-users though! I tried the same with expression: python: here.portal_membership.checkPermission('Review portal content', here) And same happened. Manager or everyone else, who had the Review portal content set in the portal root, saw this ned worklist. No one else. This raises question that are transitions' and workflows expressions evaluated in different contexts- or what migth cause this? Zope 2.5.0, DCWOrkflow 0.4 , CMF 1.3 b -huima
Heimo Laukkanen wrote:
This raises question that are transitions' and workflows expressions evaluated in different contexts- or what migth cause this?
I stubled upon this "problem" too. I think (and I could be wrong) this is because worklists are global, i.e. they're not tied to a particular object, while workflow expressions are evaluated in the context of the object they apply to. -- Luca Olivetti Wetron Automatización S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007
participants (2)
-
Heimo Laukkanen -
Luca Olivetti