Authentification - Generate Password
auth_generate_password · OCA/server-tools
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 115 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
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
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv.orm`) (3 occurrences in this file) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
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
- 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
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)