Development #8142
"switch user" feature
Début:
31 août 2015
Echéance:
% réalisé:
100%
Temps estimé:
Patch proposed:
Oui
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).
Fichiers
Révisions associées
Historique
Mis à jour par Benjamin Dauvergne il y a plus de 8 ans
- Statut changé de Nouveau à En cours
- Assigné à mis à Benjamin Dauvergne
- Version cible mis à 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)
Mis à jour par Benjamin Dauvergne il y a plus de 8 ans
- Fichier 0001-add-a-switch-user-feature-fixes-8142.patch 0001-add-a-switch-user-feature-fixes-8142.patch ajouté
- Fichier 0002-update-french-translations.patch 0002-update-french-translations.patch ajouté
- Patch proposed changé de Non à Oui
Mis à jour par Benjamin Dauvergne il y a plus de 8 ans
- Statut changé de En cours à Résolu (à déployer)
- % réalisé changé de 0 à 100
Appliqué par commit authentic2|8f005b7812979cd1dee4288fcf9ad19f6a7a5a54.
Mis à jour par Benjamin Dauvergne il y a environ 8 ans
- Statut changé de Résolu (à déployer) à Solution déployée
Mis à jour par Benjamin Dauvergne il y a plus de 6 ans
- Statut changé de Solution déployée à Fermé
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.