Authentification - System Administrator Passkey

auth_admin_passkey
REPOSITORY
REPOSITORYOCA/server-auth
GIT
GIThttps://github.com/OCA/server-auth.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-auth/tree/18.0/auth_admin_passkey
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYbase
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, bt-dlagin
WEBSITE
WEBSITEhttps://github.com/OCA/server-auth
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
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
- According to the configuration, password can be stored encrypted in
  configuration file

Code Analysis

Views touched (0)

No views found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/server-auth
GIT
GIThttps://github.com/OCA/server-auth.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-auth/tree/17.0/auth_admin_passkey
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYbase
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Karthik, Sodexis, andrea
WEBSITE
WEBSITEhttps://github.com/OCA/server-auth
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:04
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
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
- According to the configuration, password can be stored encrypted in
  configuration file

Code Analysis

Views touched (0)

No views found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/server-auth
GIT
GIThttps://github.com/OCA/server-auth.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-auth/tree/16.0/auth_admin_passkey
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYbase
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Zina Rasoamanana
WEBSITE
WEBSITEhttps://github.com/OCA/server-auth
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:43
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/server-auth
GIT
GIThttps://github.com/OCA/server-auth.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-auth/tree/15.0/auth_admin_passkey
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYbase
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Fernando La Chica
WEBSITE
WEBSITEhttps://github.com/OCA/server-auth
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:32
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/server-auth
GIT
GIThttps://github.com/OCA/server-auth.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-auth/tree/14.0/auth_admin_passkey
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYbase
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSAlexis de Lattre, OCA Transbot, oca-travis, Weblate, OCA-git-bot, dsolanki
WEBSITE
WEBSITEhttps://github.com/OCA/server-auth
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:55
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/server-auth
GIT
GIThttps://github.com/OCA/server-auth.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-auth/tree/12.0/auth_admin_passkey
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYbase
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSStéphane Bidoul, Sylvain LE GAL, GitHub, manu, OCA Transbot, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/server-auth
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
admin_passkey_view_users_form admin.passkey.view.users.form res.users xpath Inherits base.view_users_form
Models touched (1)

New fields (1)
  • block_admin_passkey Boolean
    string='Block Admin Passkey'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/10.0/auth_admin_passkey
VERSION
VERSION 1.0.3
CATEGORY
CATEGORYbase
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSRonald Portier, Holger Brunn, Pedro M. Baeza, GitHub, sebalix, Stéphane Bidoul (ACSONE), OCA Transbot, Loïc Faure-Lacroix, oca-travis, OCA-git-bot, Alexandre Papin
WEBSITE
WEBSITEhttp://www.grap.coop
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_res_config_settings base.config.settings.view base.config.settings xpath Inherits base_setup.view_general_configuration
Models touched (2)

New fields (2)
  • auth_admin_passkey_send_to_admin Boolean
    help='When the administrator use his password to login in with a different account, Odoo will send an email to the admin user.' string='Send email to admin user.'
  • auth_admin_passkey_send_to_user Boolean
    help='When the administrator use his password to login in with a different account, Odoo will send an email to the account user.' string='Send email to user.'
Public methods (4)
  • get_default_auth_admin_passkey_send_to_admin(self, fields)
    @api.model
  • get_default_auth_admin_passkey_send_to_user(self, fields)
    @api.model
  • set_auth_admin_passkey_send_to_admin(self)
    @api.multi
  • set_auth_admin_passkey_send_to_user(self)
    @api.multi

New fields (0)

No new fields.

Public methods (1)
  • check_credentials(self, password)
    @api.model
    Despite using @api.model decorator, this method is always called by a res.users record
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/9.0/auth_admin_passkey
VERSION
VERSION 2.1.1
CATEGORY
CATEGORYbase
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSAlexandre Fayolle, Pedro M. Baeza, Stéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttp://www.grap.coop
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web_kanban
    - web
    - bus
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_res_config_settings base.config.settings.view base.config.settings xpath Inherits base_setup.view_general_configuration
Models touched (2)

New fields (0)

No new fields.

Public methods (4)
  • get_default_auth_admin_passkey_send_to_admin(self, cr, uid, ids, context=None)
  • get_default_auth_admin_passkey_send_to_user(self, cr, uid, ids, context=None)
  • set_auth_admin_passkey_send_to_admin(self, cr, uid, ids, context=None)
  • set_auth_admin_passkey_send_to_user(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (2)
  • authenticate(self, db, login, password, user_agent_env)
    Authenticate the user 'login' is password is ok or if is admin password. In the second case, send mail to user and admin.
  • check_credentials(self, cr, uid, password)
    Return now True if credentials are good OR if password is admin password.
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/8.0/auth_admin_passkey
VERSION
VERSION 2.1.1
CATEGORY
CATEGORYbase
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSStéphane Bidoul, Alexis de Lattre, Alexandre Fayolle, Pedro M. Baeza, Anthony Muschang, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis
WEBSITE
WEBSITEhttp://www.grap.coop
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web_kanban
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_res_config_settings base.config.settings.view base.config.settings xpath Inherits base_setup.view_general_configuration
Models touched (2)

New fields (2)
  • auth_admin_passkey_send_to_admin Boolean
    help='When the administrator use his password to login in with a different account, Odoo will send an email to the admin user.' string='Send email to admin user.'
  • auth_admin_passkey_send_to_user Boolean
    help='When the administrator use his password to login in with a different account, Odoo will send an email to the account user.' string='Send email to user.'
Public methods (4)
  • get_default_auth_admin_passkey_send_to_admin(self, fields)
    @api.model
  • get_default_auth_admin_passkey_send_to_user(self, fields)
    @api.model
  • set_auth_admin_passkey_send_to_admin(self)
    @api.multi
  • set_auth_admin_passkey_send_to_user(self)
    @api.multi

New fields (0)

No new fields.

Public methods (2)
  • authenticate(self, db, login, password, user_agent_env)
    Authenticate the user 'login' is password is ok or if is admin password. In the second case, send mail to user and admin.
  • check_credentials(self, password)
    @api.model
    Return now True if credentials are good OR if password is admin password.
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/7.0/auth_admin_passkey
VERSION
VERSION 2.1.1
CATEGORY
CATEGORYbase
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSYannick Vaucher, Alexandre Fayolle, Sandy Carter, Sylvain LE GAL, Launchpad Translations on behalf of server-env-tools-core-editors, Rudolf Schnapka
WEBSITE
WEBSITEhttp://www.grap.coop
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web_kanban
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Admin password become a passkey for all active logins
=====================================================

Functionality :
---------------
    * Administrator has now the possibility to login in with any login;
    * By default, OpenERP will send a mail to user and admin to indicate them;
    * If a user and the admin have the same password, admin will be informed;

Technical information :
-----------------------
    * Create two ir_config_parameter to enable / disable mail sending;

Copyright, Author and Licence :
-------------------------------
    * Copyright : 2014, Groupement Régional Alimentaire de Proximité;
    * Author : Sylvain LE GAL (https://twitter.com/legalsylvain);
    * Licence : AGPL-3 (http://www.gnu.org/licenses/)
    

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_res_config_settings base.config.settings.view base.config.settings xpath Inherits base_setup.view_general_configuration
Models touched (2)

New fields (0)

No new fields.

Public methods (4)
  • get_default_auth_admin_passkey_send_to_admin(self, cr, uid, ids, context=None)
  • get_default_auth_admin_passkey_send_to_user(self, cr, uid, ids, context=None)
  • set_auth_admin_passkey_send_to_admin(self, cr, uid, ids, context=None)
  • set_auth_admin_passkey_send_to_user(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (2)
  • authenticate(self, db, login, password, user_agent_env)
    Authenticate the user 'login' is password is ok or if is admin password. In the second case, send mail to user and admin.
  • check_credentials(self, cr, uid, password)
    Return now True if credentials are good OR if password is admin password.