[RAS] admin in disguise feature
Ivan Kurmanov
duraley at gmail.com
Thu Dec 1 15:01:14 CST 2011
Hi,
As a part of part 1 of my work for ACIS this fall/winter, I've added a
feature to let administrators to find a user's profile by short-id or
email address (login), enter it and modify it.
I've implemented this as follows:
- only certain users are given this ability. The userdata file of the
user has to be modified to allow the feature. (one has to add the
/owner/type/admin key and set it to a non-zero value).
- admin users have a special admin tools menu at the bottom of their
welcome screen, right after login.
http://screencast.com/t/Lv29WXvXlif
This menu is based on the menu we used to show on the /adm/*
screens, but reworked for clarity and ease.
- the "search for personal records" link leads to a very simple form,
which asks for a short-id or an email address:
http://screencast.com/t/hmAu58zR8Umy
- search results are shown in a simple table:
http://screencast.com/t/kuRk4266
- clicking on the green link in the email column would directly take
the admin into that person's account:
http://screencast.com/t/MZWLikG7XO
- But the page top, where it normally offers the "settings" link and
"log out", is different in this case:
http://screencast.com/t/hEdix2095p
- ie. it clearly says that it is the 'admin in disguise', no settings
link, but an additional person search link is offered.
Person search would take to the same search form as you have
already seen by now.
- Each 'admin-in-disguise'-visited profile creates a new session from
the events logging point of view. It has the type "admin-user".
http://screencast.com/t/TyieWDuLv
Comments welcome.
-ivan
More information about the RAS-run
mailing list