|
5 | 5 | Installation |
6 | 6 | ============ |
7 | 7 |
|
8 | | -* `Install <https://odoo-development.readthedocs.io/en/latest/odoo/usage/install-module.html>`__ this module in a usual way |
| 8 | +* `Install <https://odoo-development.readthedocs.io/en/latest/odoo/usage/install-module.html>`__ this module in a usual way. |
9 | 9 |
|
10 | 10 | Configuration |
11 | 11 | ============= |
12 | 12 |
|
13 | | -* By default all users except a superuser restricted to escalate the privileges |
14 | | -* There is only one configuration option this module provides. Under superuser open menu ``[[ Settings ]] >> Users & Companies >> Users`` |
15 | | -* In ``Access Rights`` tab you can select 'Allow add implied groups from settings' - |
16 | | - to allow some users to configure modules by means of ``group_XXX`` fields from ``Settings`` menus |
| 13 | +**IMPORTANT NOTE:** After installing the module, only superuser can see all the groups without limitations. |
17 | 14 |
|
| 15 | +This module allows certain users to configure modules from ``[[ Settings ]]`` |
| 16 | +menu using boolean fields which ``Field`` value starts with a **group_** |
| 17 | +`(This info is displayed when hovering over the option name if developer tools is enabled)` |
| 18 | + |
| 19 | +The only users who are in special group **'Allow add implied groups from settings'** |
| 20 | +have access to make changes in forbidden for others fields. |
| 21 | + |
| 22 | +There is only one configuration option this module provides: |
| 23 | + |
| 24 | +- Under superuser open ``[[ Settings ]] >> Users & Companies >> Users`` and select user's profile |
| 25 | +- In ``Access Rights`` tab activate 'Allow add implied groups from settings' |
| 26 | + |
| 27 | +The user is then allowed to add additional access groups for himself |
| 28 | +by using the Boolean settings fields. `(res.config.settings models views)` |
| 29 | + |
18 | 30 | Usage |
19 | 31 | ===== |
| 32 | +Let's take an example of using this module and **Sales** module (sale_management). |
| 33 | + |
| 34 | +**Without this module installed:** |
| 35 | + |
| 36 | +Say you have a user with administration rights ``Administration: Access Rights``. |
| 37 | +This user thus may increase his own rights in ``Access Rights > Sales`` |
| 38 | +from ``Sales: User: Own Documents Only`` to ``Sales: Administrator``. |
| 39 | + |
| 40 | +Also he can open menu ``[[ Sales ]] >> Configuration >> Settings`` and |
| 41 | +select Customer Addresses (**group_** sale_delivery_address) there and then click ``[Apply]`` button |
| 42 | + |
| 43 | + |
| 44 | +**With this module installed:** |
| 45 | + |
| 46 | +The example user cannot increase their privileges. |
| 47 | +There is no ``Sales: Administrator`` option for it and for this reason |
| 48 | +there are no module settings, including the |
| 49 | +``Client Addresses`` option. |
| 50 | + |
| 51 | +============ |
20 | 52 |
|
21 | | -Let's take ``Sales (sale_management)`` module as an example. |
| 53 | +To activate the ``Customer Addresses`` option, the user must be: |
22 | 54 |
|
23 | | -Without this module installed: |
| 55 | +- with administration rights ``Administration: Settings`` and also with ``Sales: Administrator`` rights |
24 | 56 |
|
25 | | -* Say you have a user with administration rights ``Administration: Access Rights``. This user thus may increase his own rights in ``Application Accesses`` from ``Sales: User: Own Documents Only`` |
26 | | - to ``Sales: Administrator``. Also he can open menu ``[[ Sales ]] >> Configuration >> Settings`` and select ``Customer Addresses`` there |
27 | | - and then click ``[Apply]`` button (adding ``group_sale_delivery_address``) |
| 57 | +- is included in the **'Allow add implied groups from settings'** group. |
28 | 58 |
|
29 | | -With this module installed: |
| 59 | +The screenshot shows a user who is not included to 'Allow add implied groups from settings' group |
| 60 | +and therefore cannot activate the ``Customer Addresses`` option. |
30 | 61 |
|
31 | | -* The user from previous example cannot increase his privileges. There is no ``Sales: Manager`` option for him, and also no ``Customer Addresses`` |
32 | | - option in module configuration |
33 | | -* The only exception is done for users who are in special group 'Allow add implied groups from settings' - if your user is included in this group by the superuser then you may select |
34 | | - ``Customer Addresses`` from ``Sale`` module ``Configuration >> Settings`` menu |
| 62 | +.. image:: access_restricted_screenshot.png |
0 commit comments