This module allows one user (for example, a member of the support team) to log in as another user. The impersonation session can be exited by clicking on the button «Back to Original User».
To ensure that any abuse of this feature will not go unnoticed, the following measures are in place:
- In the chatter, it is displayed who is the user that is logged as another user.
- Mails and messages are sent from the original user.
- Impersonated logins are logged and can be consulted through the Settings -> Technical menu.
- To prevent users with «Administration: Settings» rights from being impersonated,
- enable the restrict_impersonate_admin_settings field in the settings. This will restrict the ability to impersonate users with administrative access to the settings.
There is an alternative module to allow logins as another user (auth_admin_passkey), but it does not support these security mechanisms.
Table of contents
Usage
The impersonating user must belong to group «Impersonate Users». - In the menu that is displayed when clicking on the user avatar on the top right corner, or in the res.users list, click «Switch Login» toi mpersonate another user. - On the top-right corner, the button «Back to Original User» is displayed in case the current user is being impersonated.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
- Kévin Roche <kevin.roche@akretion.com>
- [360ERP](https://www.360erp.com): - Andrea Stirpe
- Ooops404: - Eduard Brahas <eduard@ooops404.com>
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Current maintainer:
This module is part of the OCA/server-auth project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.