Skip to content
Health
35/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 115 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 7.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
AGPL-3
No conflicts with its dependencies
Folder size
0.03 MB
Module directory on disk
Code analysis 2 migration notes 1 model 2 views 0 HTTP endpoints

Description

Password Secure

Functionnality:

  • Forbid users to change them password;
    • Only members of base.group_system can change password; OK.
  • Add a button to the res_users form:
    • to change the password (randomly generated);
    • send an email to each users;

Settings:

  • Once the module installed, you have to set two settings:
    • password size: the size of the password generated (6 by default);
    • password chars: the list of allowed chars (by default ASCII letters and digits); You can:
      • set a list of chars like 'abcdef';
      • use string function like string.ascii_letters;
  • Be sure that an Outgoing Email Server is correctly configured;

Roadmap

  • When porting this module, please remove the feature that forbid users to change them password, as another module 'password_change_restrict' exists in V8 serie : https://github.com/OCA/server-tools/pull/249

Copyright, Author and Licence :

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

Dependencies

Odoo dependencies
odoo/odoo:
- web
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 2

XML IDNameModelTypeStatus
view_res_users_form res.users form Inherits base.view_users_form_simple_modif
view_res_users_tree res.users tree Inherits base.view_users_tree

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 1

New fields (0)

No new fields.

Public methods (1)
  • generate_password(self, cr, uid, ids, context=None)