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.

155 lines
5.6 KiB

  1. ==========
  2. User roles
  3. ==========
  4. .. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  5. !! This file is generated by oca-gen-addon-readme !!
  6. !! changes will be overwritten. !!
  7. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  8. .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
  9. :target: https://odoo-community.org/page/development-status
  10. :alt: Beta
  11. .. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
  12. :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
  13. :alt: License: LGPL-3
  14. .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github
  15. :target: https://github.com/OCA/server-backend/tree/14.0/base_user_role
  16. :alt: OCA/server-backend
  17. .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
  18. :target: https://translation.odoo-community.org/projects/server-backend-14-0/server-backend-14-0-base_user_role
  19. :alt: Translate me on Weblate
  20. .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
  21. :target: https://runbot.odoo-community.org/runbot/253/14.0
  22. :alt: Try me on Runbot
  23. |badge1| |badge2| |badge3| |badge4| |badge5|
  24. This module was written to extend the standard functionality regarding users
  25. and groups management.
  26. It helps creating well-defined user roles and associating them to users.
  27. It can become very hard to maintain a large number of user profiles over time,
  28. juggling with many technical groups. For this purpose, this module will help
  29. you to:
  30. * define functional roles by aggregating low-level groups,
  31. * set user accounts with the predefined roles (roles are cumulative),
  32. * update groups of all relevant user accounts (all at once),
  33. * ensure that user accounts will have the groups defined in their roles
  34. (nothing more, nothing less). In other words, you can not set groups
  35. manually on a user as long as there is roles configured on it,
  36. * activate/deactivate roles depending on the date (useful to plan holidays, etc)
  37. * get a quick overview of roles and the related user accounts.
  38. That way you make clear the different responsabilities within a company, and
  39. are able to add and update user accounts in a scalable and reliable way.
  40. **Table of contents**
  41. .. contents::
  42. :local:
  43. Configuration
  44. =============
  45. To configure this module, you need to go to *Configuration / Users / Roles*,
  46. and create a new role. From there, you can add groups to compose your role,
  47. and then associate users to it.
  48. You can also define default roles for a new user by editing the user called
  49. "Default User".
  50. Roles:
  51. .. figure:: https://raw.githubusercontent.com/OCA/server-backend/12.0/base_user_role/static/description/roles.png
  52. :width: 80 %
  53. :align: center
  54. Add groups:
  55. .. figure:: https://raw.githubusercontent.com/OCA/server-backend/12.0/base_user_role/static/description/role_groups.png
  56. :width: 80 %
  57. :align: center
  58. Add users (with dates or not):
  59. .. figure:: https://raw.githubusercontent.com/OCA/server-backend/12.0/base_user_role/static/description/role_users.png
  60. :width: 80 %
  61. :align: center
  62. Usage
  63. =====
  64. To use this module, you need to:
  65. #. Go to Configuration / Users / Users choose user and set Roles:
  66. .. image:: https://raw.githubusercontent.com/OCA/server-backend/base_user_role/static/description/user_form.png
  67. Bug Tracker
  68. ===========
  69. Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-backend/issues>`_.
  70. In case of trouble, please check there if your issue has already been reported.
  71. If you spotted it first, help us smashing it by providing a detailed and welcomed
  72. `feedback <https://github.com/OCA/server-backend/issues/new?body=module:%20base_user_role%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
  73. Do not contact contributors directly about support or help with technical issues.
  74. Credits
  75. =======
  76. Authors
  77. ~~~~~~~
  78. * ABF OSIELL
  79. Contributors
  80. ~~~~~~~~~~~~
  81. * Sébastien Alix <sebastien.alix@camptocamp.com>
  82. * Duc, Dao Dong <duc.dd@komit-consulting.com> (https://komit-consulting.com)
  83. * Jean-Charles Drubay <jc@komit-consulting.com> (https://komit-consulting.com)
  84. * Alan Ramos <alan.ramos@jarsa.com.mx> (https://www.jarsa.com.mx)
  85. Do not contact contributors directly about support or help with technical issues.
  86. Other credits
  87. ~~~~~~~~~~~~~
  88. Images
  89. ------
  90. * Oxygen Team: `Icon <http://www.iconarchive.com/show/oxygen-icons-by-oxygen-icons.org/Actions-user-group-new-icon.html>`_ (LGPL)
  91. Maintainers
  92. ~~~~~~~~~~~
  93. This module is maintained by the OCA.
  94. .. image:: https://odoo-community.org/logo.png
  95. :alt: Odoo Community Association
  96. :target: https://odoo-community.org
  97. OCA, or the Odoo Community Association, is a nonprofit organization whose
  98. mission is to support the collaborative development of Odoo features and
  99. promote its widespread use.
  100. .. |maintainer-sebalix| image:: https://github.com/sebalix.png?size=40px
  101. :target: https://github.com/sebalix
  102. :alt: sebalix
  103. .. |maintainer-jcdrubay| image:: https://github.com/jcdrubay.png?size=40px
  104. :target: https://github.com/jcdrubay
  105. :alt: jcdrubay
  106. .. |maintainer-novawish| image:: https://github.com/novawish.png?size=40px
  107. :target: https://github.com/novawish
  108. :alt: novawish
  109. Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:
  110. |maintainer-sebalix| |maintainer-jcdrubay| |maintainer-novawish|
  111. This module is part of the `OCA/server-backend <https://github.com/OCA/server-backend/tree/14.0/base_user_role>`_ project on GitHub.
  112. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.