[Zope] FW: Change roles with python

Dieter Maurer dieter@handshake.de
Thu, 29 May 2003 20:48:13 +0200


Andrew R. Halko wrote at 2003-5-29 07:57 -0400:
 > Does anyone know how to change a role with python?  I want to have some
 > of the visitors to my site have a different role than Anonymous without
 > having to login to the site.

How do you recognize them when they do not log in?


Your best option (I think) is to make a custom UserFolder that
uses your differentiating information to return separate users.


Dieter