Skip to content
Health
77/100
good
  • Security22/25
    1 minor finding
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 12 Odoo series since 8.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.81 MB
Module directory on disk
Code analysis 0 migration notes 3 models 1 view 3 HTTP endpoints

Description

This module allows admin to set company-level password security requirements and enforces them on the user.

It contains features such as

  • Password expiration days
  • Password length requirement
  • Password minimum number of lowercase letters
  • Password minimum number of uppercase letters
  • Password minimum number of numbers
  • Password minimum number of special characters

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.form.password_security res.config.settings form Inherits auth_password_policy.res_config_settings_view_form

HTTP endpoints 3

Route(s)HandlerAuthTypeMethodsFlags
(inherited route override) PasswordSecurity2FAHome.web_totp inherited http ALL
(inherited route override) PasswordSecurityHome.web_auth_signup inherited http ALL
(inherited route override) PasswordSecurityHome.web_login inherited http ALL

Models touched 3

New fields (7)
  • password_expiration Integer
    config_parameter='password_security.expiration_days' default=0 help='How many days until passwords expire' string='Days'
  • password_history Integer
    config_parameter='password_security.history' default=0 help='Disallow reuse of this many previous passwords - use negative number for infinite, or 0 to disable' string='History'
  • password_lower Integer
    config_parameter='password_security.lower' default=0 help='Require number of lowercase letters' string='Lowercase'
  • password_minimum Integer
    config_parameter='password_security.minimum_hours' default=0 help='Number of hours until a user may change password again' string='Minimum Hours'
  • password_numeric Integer
    config_parameter='password_security.numeric' default=0 help='Require number of numeric digits' string='Numeric'
  • password_special Integer
    config_parameter='password_security.special' default=0 help='Require number of unique special characters' string='Special'
  • password_upper Integer
    config_parameter='password_security.upper' default=0 help='Require number of uppercase letters' string='Uppercase'
Public methods (0)

No public methods.

New fields (2)
  • password_history_ids One2many → res.users.pass.history
    comodel_name='res.users.pass.history' inverse_name='user_id' readonly=True
  • password_write_date Datetime
    default=fields.Datetime.now readonly=True args: 'Last password update'
Public methods (5)
  • action_expire_password(self)
  • action_reset_password(self)
    Disallow password resets inside of Minimum Hours
  • get_password_policy(self)
    @api.model
  • password_match_message(self)
  • write(self, vals)

New fields (3)
  • date Datetime
    default=<expr> index=True
  • password_crypt Char
    string='Encrypted Password'
  • user_id Many2one → res.users
    comodel_name='res.users' index=True ondelete='cascade'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…