Projet

Général

Profil

Development #8142

"switch user" feature

Ajouté par Frédéric Péters il y a plus de 8 ans. Mis à jour il y a plus de 6 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
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

0001-add-a-switch-user-feature-fixes-8142.patch (11,4 ko) 0001-add-a-switch-user-feature-fixes-8142.patch Benjamin Dauvergne, 01 septembre 2015 10:18
0002-update-french-translations.patch (29,2 ko) 0002-update-french-translations.patch Benjamin Dauvergne, 01 septembre 2015 10:18

Révisions associées

Révision 8f005b78 (diff)
Ajouté par Benjamin Dauvergne il y a plus de 8 ans

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.

Historique

#1

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)
#3

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
#4

Mis à jour par Benjamin Dauvergne il y a environ 8 ans

  • Statut changé de Résolu (à déployer) à Solution déployée
#5

Mis à jour par Benjamin Dauvergne il y a plus de 6 ans

  • Statut changé de Solution déployée à Fermé

Formats disponibles : Atom PDF