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.

76 lines
2.7 KiB

  1. # -*- encoding: utf-8 -*-
  2. ##############################################################################
  3. #
  4. # Authentification - Generate Password module for Odoo
  5. # Copyright (C) 2014 GRAP (http://www.grap.coop)
  6. # @author Sylvain LE GAL (https://twitter.com/legalsylvain)
  7. #
  8. # This program is free software: you can redistribute it and/or modify
  9. # it under the terms of the GNU Affero General Public License as
  10. # published by the Free Software Foundation, either version 3 of the
  11. # License, or (at your option) any later version.
  12. #
  13. # This program is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. # GNU Affero General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU Affero General Public License
  19. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. #
  21. ##############################################################################
  22. {
  23. 'name': 'Authentification - Generate Password',
  24. 'version': '1.0',
  25. 'category': 'Tools',
  26. 'description': """
  27. Password Secure
  28. ===============
  29. Functionnality:
  30. ---------------
  31. * Forbid users to change them password;
  32. * Only members of base.group_system can change password; OK.
  33. * Add a button to the res_users form:
  34. * to change the password (randomly generated);
  35. * send an email to each users;
  36. Settings:
  37. ---------
  38. * Once the module installed, you have to set two settings:
  39. * password size: the size of the password generated (6 by default);
  40. * password chars: the list of allowed chars (by default ASCII letters
  41. and digits); You can:
  42. * set a list of chars like 'abcdef';
  43. * use string function like string.ascii_letters;
  44. * Be sure that an Outgoing Email Server is correctly configured;
  45. Roadmap
  46. -------
  47. * When porting this module, please remove the feature that forbid users to
  48. change them password, as another module 'password_change_restrict' exists in
  49. V8 serie : https://github.com/OCA/server-tools/pull/249
  50. Copyright, Author and Licence :
  51. -------------------------------
  52. * Copyright : 2014, Groupement Regional Alimentaire de Proximite;
  53. * Author : Sylvain LE GAL (https://twitter.com/legalsylvain);
  54. * Licence : AGPL-3 (http://www.gnu.org/licenses/)
  55. """,
  56. 'author': 'GRAP',
  57. 'website': 'http://www.grap.coop',
  58. 'license': 'AGPL-3',
  59. 'depends': [
  60. 'email_template',
  61. ],
  62. 'data': [
  63. 'data/ir_config_parameter.xml',
  64. 'data/email_template.xml',
  65. 'view/view.xml',
  66. ],
  67. 'demo': [
  68. 'demo/res_groups.yml',
  69. 'demo/res_users.yml',
  70. ],
  71. }