Development #8142
"switch user" feature
Start date:
31 August 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
History
Updated by Benjamin Dauvergne over 7 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)
Updated by Benjamin Dauvergne over 7 years ago
- File 0001-add-a-switch-user-feature-fixes-8142.patch 0001-add-a-switch-user-feature-fixes-8142.patch added
- File 0002-update-french-translations.patch 0002-update-french-translations.patch added
- Patch proposed changed from No to Yes
Updated by Benjamin Dauvergne over 7 years ago
- Status changed from En cours to Résolu (à déployer)
- % Done changed from 0 to 100
Appliqué par commit authentic2|8f005b7812979cd1dee4288fcf9ad19f6a7a5a54.
Updated by Benjamin Dauvergne almost 7 years ago
- Status changed from Résolu (à déployer) to Solution déployée
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.