Forum .LRN Q&A: Switching rol professor <--> student

Hello, all!

One frequently question sent to us is how one
professor can check how the site appears
to one student of his course.

Are there any way one professor can switch
the rol to student to check that?

(Sorry for my bad english 😊 )

Best regards,

Posted by Malte Sussdorff on
No, there is no functionality like this in .LRN / OpenACS at the moment, *but* you can easily add this by copying the code from /acs-admin/users/one ("Login as this user") and make a link to this functionality in /dotlrn/clubs/<clubname>/members, if the user is an administrator of this club (and you can replace club with class).

There is one *huge* drawback to this approach. The professor can not only see all the data the student has entered into the site (and look what the student has been talking about in other clubs), but also post as this user. And I'm pretty sure you don't want to enable this, unless you inform all your students that in the system professors are able to take on students' identities :).

Instead I'd provide each professor with a student login (using a bogus email address) as a quick fix.

Posted by Deirdre Kane on
Also, a professor could also create a student account on their own - by creating a limited access user account from the class Control Panel using a valid secondary email address, like their home email address.  They will see everything a student sees in the class, and the don't need any assistance from the site wide administrator to do it.  Chances are, some of your faculty will figure this out without asking you (as have mine).
Posted by Jose Agustin Lopez Bueno on

We like to tell us the solution we have found for
switching professor - student on our system.

We had four choices:
-Every teacher has one account for using it
as student.
Problems: -We have to learn to the people how to do that.
-Many accounts in the system.
-One teacher can "Login as this user", beeing that user one
of his students.
Problems: -Privacity of the data.
-New rol: something like a student rol who could switch to professor.
Problems: -Complexity.
-Our proppossal: We have added some code for do possible
switch the rol teacher - student. The code for that, with the files
modified, is in

That code is working Ok for us. It is easy to implement.
We think of has not security holes. Perhaps it is not the best solution
but it is working now.

Best regards,