You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
2.5 KiB
70 lines
2.5 KiB
# -*- encoding: utf-8 -*-
|
|
##############################################################################
|
|
#
|
|
# Authentification - Generate Password module for Odoo
|
|
# Copyright (C) 2014 GRAP (http://www.grap.coop)
|
|
# @author Sylvain LE GAL (https://twitter.com/legalsylvain)
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU Affero General Public License as
|
|
# published by the Free Software Foundation, either version 3 of the
|
|
# License, or (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU Affero General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Affero General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
#
|
|
##############################################################################
|
|
|
|
{
|
|
'name': 'Authentification - Generate Password',
|
|
'version': '1.0',
|
|
'category': 'Tools',
|
|
'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;
|
|
|
|
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/)
|
|
""",
|
|
'author': 'GRAP',
|
|
'website': 'http://www.grap.coop',
|
|
'license': 'AGPL-3',
|
|
'depends': [
|
|
'email_template',
|
|
],
|
|
'data': [
|
|
'data/ir_config_parameter.yml',
|
|
'data/email_template.xml',
|
|
'view/view.xml',
|
|
],
|
|
'demo': [
|
|
'demo/res_groups.yml',
|
|
'demo/res_users.yml',
|
|
],
|
|
}
|