Fix and improves the 'become user' feature.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Wed, 6 Oct 2010 08:59:53 +0000 (10:59 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Wed, 6 Oct 2010 09:59:57 +0000 (11:59 +0200)
commit20b087ff2e4bb918f601a9bcc2c67d1fbc5b2231
tree1e2cae4d280f8e1cf52702680441786ab8f90e9b
parent545bc699496f01cf1b5db97ca3ca19999222ba1b
Fix and improves the 'become user' feature.

You can now select an account type among all available types and see the
site with the permissions of this type. Leaving a SUID session go back to
the page where the SUID session has been started.

Note: The site seen by someone with this account type might be a bit
different since some parameters are independent from the type (like the
fact your account is attached to a profile).

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
classes/direnum.php
classes/user.php
classes/xorgpage.php
modules/admin.php
modules/platal.php
templates/skin/common.menu.tpl