[Zope-dev] Logging in as admin and impersonating another user - is it possible with Zopes sec policy?

Dario Lopez-Kästen dario@ita.chalmers.se
Wed, 11 Sep 2002 15:52:10 +0200


Hello!

I am wondering if it is possible to write a userfolder that does the
following:

For certain categories of users, for instance Teachers, while keeping their
current authorisation of Teachers, I need to let them "impersonate" a user
with lower authorisation than they currently have, say Students.

So a logged in Teacher could for instance examine what a particular student
sees in a Student portal (i.e. "previewing" it as would that particular
student)

Is this possible with Zopes current securtiy mechanisms?

/dario

- --------------------------------------------------------------------
Dario Lopez-Kästen, dario@ita.chalmers.se        IT Systems & Services
System Developer/System Administrator     Chalmers University of Tech.