[Zope-CMF] Re: guard expression on workflow transition

2007-12-19 Thread Laurence Rowe
I use a view like this: from zope.publisher.browser import BrowserView from zope.component import getMultiAdapter from AccessControl.SecurityManagement import getSecurityManager import transaction class PDBView(BrowserView): def __call__(self): sm = getSecurityManager() user

[Zope-CMF] CMF Tests: 9 OK, 2 Unknown

2007-12-19 Thread CMF Tests Summarizer
Summary of messages to the cmf-tests list. Period Tue Dec 18 12:00:00 2007 UTC to Wed Dec 19 12:00:00 2007 UTC. There were 11 messages: 11 from CMF Unit Tests. Unknown --- Subject: UNKNOWN : CMF-2.1 Zope-trunk Python-2.4.4 : Linux From: CMF Unit Tests Date: Tue Dec 18 21:42:56 EST 2007 URL:

[Zope-CMF] Re: guard expression on workflow transition

2007-12-19 Thread Marie Robichon
Sorry, I omitted to point out that I am using Plone 2.1.4. The solution you kindly pointed out to me is Zope3ish isn't it?? It is sort of chinese to me;-) I don't suppose with my version of Plone I can do this ? If I can where do I put this code ? I have tried other syntaxes in the guard

[Zope-CMF] [dev] GenericSetup: using global steps

2007-12-19 Thread yuppie
Hi! GenericSetup trunk has global step registries. I propose to use the new ZCML directive for registering all GenericSetup and CMF import and export steps globally. And to remove the import_steps.xml and export_steps.xml files from the profiles shipped with CMF. This also requires to add

[Zope-CMF] Re: [dev] GenericSetup: using global steps

2007-12-19 Thread Hanno Schlichting
yuppie wrote: GenericSetup trunk has global step registries. I propose to use the new ZCML directive for registering all GenericSetup and CMF import and export steps globally. And to remove the import_steps.xml and export_steps.xml files from the profiles shipped with CMF. This also

Re: [Zope-CMF] [dev] GenericSetup: using global steps

2007-12-19 Thread Wichert Akkerman
Previously yuppie wrote: GenericSetup trunk has global step registries. I propose to use the new ZCML directive for registering all GenericSetup and CMF import and export steps globally. And to remove the import_steps.xml and export_steps.xml files from the profiles shipped with CMF.