Skip to main content

Allows system administrator to authenticate with any account

Project description

Beta License: AGPL-3 OCA/server-auth Translate me on Weblate Try me on Runbot

This module extends the functionality of users module to support loging in with an extra system administrator password in other user accounts.

  • System Administrator has now the possibility to login in with any login

  • According to the configuration, Odoo will send a mail to user and admin to indicate them

Table of contents

Configuration

To enable this feature, once the module installed, you have to add the following keys in your odoo.cfg configuration file.

  • auth_admin_passkey_password. The password that allows user to logging in with any login. If not set, the feature is disabled.

  • auth_admin_passkey_send_to_user (default True), if enabled, an email will be send to the user, if his account has been used by the System Administrator.

  • auth_admin_passkey_sysadmin_email. If set, an email will be sent to this mail.

  • auth_admin_passkey_sysadmin_lang. the language (exemple en_US), used for the mail sent to the System Administrator. If not set, the language of the SUPERUSER_ID user will be used.

typical Dev / Test configuration section

No keys to add.

typical Production configuration section

auth_admin_passkey_password = PASSKEY_PASSWORD
auth_admin_passkey_send_to_user = True
auth_admin_passkey_sysadmin_email = SYSADMIN_PASSWORD
auth_admin_passkey_sysadmin_lang = SYSADMIN_LANG
  • To avoid the usage of the admin passkey with some users go to the User record and check the “Block Admin Passkey” checkbox.

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 smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • GRAP

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page