Comment 2 for bug 623199

Revision history for this message
Robert Collins (lifeless) wrote : Re: scripts do not establish valid zope partiticipations

At the heart of it, this bug is:
 - exec_zcml_for_scripts should not call setupInteractionByEmail(ANONYMOUS)
 - scripts should login as a restricted access celebrity sufficient to determine what requests they need to service.
 - they should then impersonate the appropriate users as they process things (e.g. by logging out and logging in as that user).
 - errorlog.ScriptRequest might be a reasonable base to start from, but there is some hair.