Hi,

   Within a python file I do a call to thread.start_new_thread(...).
Before this call, I am the admin user (verified by calling
AccessControl.getSecurityManager().getuser().getUserName()).  After the
call, however, in the new thread, the user is now "Anonymous User".

   Is there any way to somehow "pass" the user between threads because the
code executed in the new thread needs the same permissions as the code
executed in the old thread?  I can obviously pass the user name to the new
thread, but I'm not sure if that does me any good, because I doubt an
Anonymous User would have permission to make itself another user.

   Any hints or suggestions would be appreciated.

Thanks,
--Toby.
---------------------------
Toby Gustafson
Senior Software Engineer
Tyrell Software Corporation
Email: [EMAIL PROTECTED]
---------------------------


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to