mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[IMP] base_user_role: pre-commit stuff
This commit is contained in:
22
base_user_role/readme/CONFIGURE.md
Normal file
22
base_user_role/readme/CONFIGURE.md
Normal file
@@ -0,0 +1,22 @@
|
||||
To configure this module, you need to go to *Settings / Users / Roles*,
|
||||
and create a new role. From there, you can add groups to compose your
|
||||
role, and then associate users to it.
|
||||
|
||||
You can also define default roles for a new user by editing the user
|
||||
called "Default User".
|
||||
|
||||
Roles:
|
||||
|
||||

|
||||
|
||||
Add groups:
|
||||
|
||||

|
||||
|
||||
Add users (with dates or not):
|
||||
|
||||

|
||||
|
||||
Instead of creating roles from scratch, it is possible to create a role
|
||||
based on the groups of an existing user: select or open the user and
|
||||
choose "Create role from user" in the action menu.
|
||||
@@ -1,28 +0,0 @@
|
||||
To configure this module, you need to go to *Settings / Users / Roles*,
|
||||
and create a new role. From there, you can add groups to compose your role,
|
||||
and then associate users to it.
|
||||
|
||||
You can also define default roles for a new user by editing the user called
|
||||
"Default User".
|
||||
|
||||
Roles:
|
||||
|
||||
.. figure:: /OCA/server-backend/16.0/base_user_role/static/description/roles.png
|
||||
:width: 80 %
|
||||
:align: center
|
||||
|
||||
Add groups:
|
||||
|
||||
.. figure:: /OCA/server-backend/16.0/base_user_role/static/description/role_groups.png
|
||||
:width: 80 %
|
||||
:align: center
|
||||
|
||||
Add users (with dates or not):
|
||||
|
||||
.. figure:: /OCA/server-backend/16.0/base_user_role/static/description/role_users.png
|
||||
:width: 80 %
|
||||
:align: center
|
||||
|
||||
Instead of creating roles from scratch, it is possible to create a role
|
||||
based on the groups of an existing user: select or open the user and choose
|
||||
"Create role from user" in the action menu.
|
||||
15
base_user_role/readme/CONTRIBUTORS.md
Normal file
15
base_user_role/readme/CONTRIBUTORS.md
Normal file
@@ -0,0 +1,15 @@
|
||||
- Sébastien Alix \<<sebastien.alix@camptocamp.com>\>
|
||||
- Duc, Dao Dong \<<duc.dd@komit-consulting.com>\>
|
||||
(<https://komit-consulting.com>)
|
||||
- Jean-Charles Drubay \<<jc@komit-consulting.com>\>
|
||||
(<https://komit-consulting.com>)
|
||||
- Alan Ramos \<<alan.ramos@jarsa.com.mx>\> (<https://www.jarsa.com.mx>)
|
||||
- Harald Panten \<<harald.panten@sygel.es>\>
|
||||
- Kevin Khao \<<kevin.khao@akretion.com>\>
|
||||
- Tatiana Deribina \<<tatiana.deribina@sprintit.fi>\>
|
||||
(<https://sprintit.fi>)
|
||||
- Guillem Casassas \<<guillem.casassas@forgeflow.com>\>
|
||||
- Guillaume Pothier \<<gpothier@caligrafix.cl>\>
|
||||
|
||||
Do not contact contributors directly about support or help with
|
||||
technical issues.
|
||||
@@ -1,11 +0,0 @@
|
||||
* Sébastien Alix <sebastien.alix@camptocamp.com>
|
||||
* Duc, Dao Dong <duc.dd@komit-consulting.com> (https://komit-consulting.com)
|
||||
* Jean-Charles Drubay <jc@komit-consulting.com> (https://komit-consulting.com)
|
||||
* Alan Ramos <alan.ramos@jarsa.com.mx> (https://www.jarsa.com.mx)
|
||||
* Harald Panten <harald.panten@sygel.es>
|
||||
* Kevin Khao <kevin.khao@akretion.com>
|
||||
* Tatiana Deribina <tatiana.deribina@sprintit.fi> (https://sprintit.fi)
|
||||
* Guillem Casassas <guillem.casassas@forgeflow.com>
|
||||
* Guillaume Pothier <gpothier@caligrafix.cl>
|
||||
|
||||
Do not contact contributors directly about support or help with technical issues.
|
||||
5
base_user_role/readme/CREDITS.md
Normal file
5
base_user_role/readme/CREDITS.md
Normal file
@@ -0,0 +1,5 @@
|
||||
## Images
|
||||
|
||||
- Oxygen Team:
|
||||
[Icon](http://www.iconarchive.com/show/oxygen-icons-by-oxygen-icons.org/Actions-user-group-new-icon.html)
|
||||
(LGPL)
|
||||
@@ -1,4 +0,0 @@
|
||||
Images
|
||||
------
|
||||
|
||||
* Oxygen Team: `Icon <http://www.iconarchive.com/show/oxygen-icons-by-oxygen-icons.org/Actions-user-group-new-icon.html>`_ (LGPL)
|
||||
22
base_user_role/readme/DESCRIPTION.md
Normal file
22
base_user_role/readme/DESCRIPTION.md
Normal file
@@ -0,0 +1,22 @@
|
||||
This module was written to extend the standard functionality regarding
|
||||
users and groups management. It helps creating well-defined user roles
|
||||
and associating them to users.
|
||||
|
||||
It can become very hard to maintain a large number of user profiles over
|
||||
time, juggling with many technical groups. For this purpose, this module
|
||||
will help you to:
|
||||
|
||||
> - define functional roles by aggregating low-level groups,
|
||||
> - set user accounts with the predefined roles (roles are cumulative),
|
||||
> - update groups of all relevant user accounts (all at once),
|
||||
> - ensure that user accounts will have the groups defined in their
|
||||
> roles (nothing more, nothing less). In other words, you can not set
|
||||
> groups manually on a user as long as there is roles configured on
|
||||
> it,
|
||||
> - activate/deactivate roles depending on the date (useful to plan
|
||||
> holidays, etc)
|
||||
> - get a quick overview of roles and the related user accounts.
|
||||
|
||||
That way you make clear the different responsabilities within a company,
|
||||
and are able to add and update user accounts in a scalable and reliable
|
||||
way.
|
||||
@@ -1,19 +0,0 @@
|
||||
This module was written to extend the standard functionality regarding users
|
||||
and groups management.
|
||||
It helps creating well-defined user roles and associating them to users.
|
||||
|
||||
It can become very hard to maintain a large number of user profiles over time,
|
||||
juggling with many technical groups. For this purpose, this module will help
|
||||
you to:
|
||||
|
||||
* define functional roles by aggregating low-level groups,
|
||||
* set user accounts with the predefined roles (roles are cumulative),
|
||||
* update groups of all relevant user accounts (all at once),
|
||||
* ensure that user accounts will have the groups defined in their roles
|
||||
(nothing more, nothing less). In other words, you can not set groups
|
||||
manually on a user as long as there is roles configured on it,
|
||||
* activate/deactivate roles depending on the date (useful to plan holidays, etc)
|
||||
* get a quick overview of roles and the related user accounts.
|
||||
|
||||
That way you make clear the different responsabilities within a company, and
|
||||
are able to add and update user accounts in a scalable and reliable way.
|
||||
5
base_user_role/readme/USAGE.md
Normal file
5
base_user_role/readme/USAGE.md
Normal file
@@ -0,0 +1,5 @@
|
||||
To use this module, you need to:
|
||||
|
||||
1. Go to Configuration / Users / Users choose user and set Roles:
|
||||
|
||||

|
||||
@@ -1,5 +0,0 @@
|
||||
To use this module, you need to:
|
||||
|
||||
#. Go to Configuration / Users / Users choose user and set Roles:
|
||||
|
||||
.. image:: /OCA/server-backend/base_user_role/static/description/user_form.png
|
||||
Reference in New Issue
Block a user