Hi John,

When I'm looking for the request object from somewhere like that I use

from zope.security.management import getInteraction

request = getInteraction().participations[0]

Why this works is outlined (IIRC) in zope/app/securitypolicy/zopepolicy.txt.

There may well be better ways to fish for the request than this... any
offerings?

Rupert

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to