Project

General

Profile

Development #8142

"switch user" feature

Added by Frédéric Péters over 5 years ago. Updated about 3 years ago.

Status:
Fermé
Priority:
Normal
Category:
-
Target version:
Start date:
31 Aug 2015
Due date:
% Done:

100%

Estimated time:
Patch proposed:
Yes
Planning:

Description

It would be useful for an administrator to be able to log in as another user (it could be done from /manage/users/, find user, then a "log in as" button).


Files

Associated revisions

Revision 8f005b78 (diff)
Added by Benjamin Dauvergne over 5 years ago

add a switch-user feature (fixes #8142)

The new switch-user button in the manager allow any super-user to become
another user for debugging purpose.

History

#1

Updated by Benjamin Dauvergne over 5 years ago

  • Status changed from Nouveau to En cours
  • Assignee set to Benjamin Dauvergne
  • Target version set to 2.2.0
  • add /manager/users/**/su/ view:
    • store current session[SESSION_KEY] and session[BACKEND_SESSION_KEY] and session[HASH_SESSION_KEY] in other
    • login targetted user using some backend (here lies some difficulty as for example you would have to detect if an user is coming from an LDAP directory in log him using this backend, for now it will only be possible to use some kind of model backend)
  • add button for making a switch in the user view (and redirecting to authentic2 homepage)
  • on the account page add a link to a "switch-back" view, restoring previous value for session authentication key (stored when switching)
#3

Updated by Benjamin Dauvergne over 5 years ago

  • Status changed from En cours to Résolu (à déployer)
  • % Done changed from 0 to 100
#4

Updated by Benjamin Dauvergne about 5 years ago

  • Status changed from Résolu (à déployer) to Solution déployée
#5

Updated by Benjamin Dauvergne about 3 years ago

  • Status changed from Solution déployée to Fermé

Also available in: Atom PDF