Red Hat Bugzilla – Bug 100601
gls admin "god" power
Last modified: 2007-03-27 00:08:21 EDT
Need to create a way for designated GLS admins to "become" a manager,
instructor, student in order to see things as they do.
This was kind of a fun hack (albeit rather wide-ranging). It's on webtest now,
and rhabowe is set up as a GLS admin so you can test it. You can either assume
people's roles (via gls main page, manager class list, instructor enrollment
list) or you can just outright be logged in as them (this is the only way to see
their home page and everything exactly as they would).
I didn't test this far enough... needs a lot of cleanup.
i pushed live the impersonation version of this, but the drilldown version will
have to wait.
ok, this is now working entirely as i envisioned, and some general cleanup has
been done. heading to webtest for sanity checking. everything except for the
front page is based on a role that is assumed, and that role includes the user
so that the GLS user may assume other users' roles while maintaining the same
login. the gls user can "drilldown" correctly.
did the bugzilla DB revert? I thought I'd marked all these live. Anyway these
fixes should be live now.