You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -44,7 +44,7 @@ The UI access is provided only for ``group_backend_ui_users`` :
44
44
45
45
Here is an example where a user from ``group_backend_ui_users`` can only access and use the Dummy App. No other application is available to this user (you may define your own application instead of the Dummy one).
If you created a specific group with ``group_backend`` or ``group_backend_ui_users`` in its ``implied_ids``, you need to go through the group's form page in order to add the user to this specific group, because it won't be displayed on the user's form page (a specific group with its own category is displayed on user's form page only if the group inherits the "Internal user" group).
@@ -97,7 +97,7 @@ Bug Tracker
97
97
Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-backend/issues>`_.
98
98
In case of trouble, please check there if your issue has already been reported.
99
99
If you spotted it first, help us to smash it by providing a detailed and welcomed
To allow a user from the ``group_backend_ui_users`` group to interact with a specific model you can either add an access rules to this model for ``group_backend_ui_users`` or you can add ``group_backend_ui_users`` to the ``implied_ids`` of a new specific group.
2
2
3
-
The Backend groups are from the "User types" category (``base.module_category_user_type``), the same category as "Internal User" (``base.group_user``), "Portal" (``base.group_portal``) or Public (``base.group_public``). Be aware that a user can only belongs to **one group of this category**.
3
+
The Backend groups are from the "User types" category (``base.module_category_user_type``), the same category as "Internal User" (``base.group_user``), "Portal" (``base.group_portal``) or Public (``base.group_public``). Be aware that a user can only belongs to **one group of this category**.
Copy file name to clipboardExpand all lines: base_group_backend/readme/DESCRIPTION.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,4 +30,4 @@ So technically, the module does 2 things :
30
30
* It hijacks the ``has_group`` method of res.users by returning ``True`` for ``group_backend`` users when the requested group is ``base.group_user``
31
31
32
32
33
-
This avoids to write a lot of overwrite in different controllers from different modules ('portal', 'web', 'base', 'website') with hard coded statements that check if user is part of the ``base.group_user`` or ``share == False`` group.
33
+
This avoids to write a lot of overwrite in different controllers from different modules ('portal', 'web', 'base', 'website') with hard coded statements that check if user is part of the ``base.group_user`` or ``share == False`` group.
Copy file name to clipboardExpand all lines: base_group_backend/readme/USAGE.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,4 +5,4 @@ To use this module, add a user to the group "Backend user" or "Backend UI user"
5
5
6
6
If you created a specific group with ``group_backend`` or ``group_backend_ui_users`` in its ``implied_ids``, you need to go through the group's form page in order to add the user to this specific group, because it won't be displayed on the user's form page (a specific group with its own category is displayed on user's form page only if the group inherits the "Internal user" group).
7
7
8
-
This module also **restricts the root menus** displayed to Backend users, so be sure to explicitly add your Backend group to all the necessary root menus for these users.
8
+
This module also **restricts the root menus** displayed to Backend users, so be sure to explicitly add your Backend group to all the necessary root menus for these users.
<p><aclass="reference external image-reference" href="https://odoo-community.org/page/development-status"><imgalt="Alpha" src="https://img.shields.io/badge/maturity-Alpha-red.png" /></a><aclass="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><imgalt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a><aclass="reference external image-reference" href="https://github.com/OCA/server-backend/tree/16.0/base_group_backend"><imgalt="OCA/server-backend" src="https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github" /></a><aclass="reference external image-reference" href="https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_group_backend"><imgalt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a><aclass="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/server-backend&target_branch=16.0"><imgalt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
371
+
<p><aclass="reference external image-reference" href="https://odoo-community.org/page/development-status"><imgalt="Alpha" src="https://img.shields.io/badge/maturity-Alpha-red.png" /></a><aclass="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><imgalt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a><aclass="reference external image-reference" href="https://github.com/OCA/server-backend/tree/15.0/base_group_backend"><imgalt="OCA/server-backend" src="https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github" /></a><aclass="reference external image-reference" href="https://translation.odoo-community.org/projects/server-backend-15-0/server-backend-15-0-base_group_backend"><imgalt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a><aclass="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/server-backend&target_branch=15.0"><imgalt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373
372
<p>This module adds two “Backend User” groups (<ttclass="docutils literal">group_backend</tt> and <ttclass="docutils literal">group_backend_ui_users</tt>) with restricted access to odoo backend only (<ttclass="docutils literal">/web</tt>), with less and more controlled access than the native “Internal User” group.</p>
374
373
<blockquote>
375
374
The problem with the “Internal User” group (<ttclass="docutils literal">base.group_user</tt>) is that it can be used by any new module added to your project, so you don’t control clearly this group’s accesses.</blockquote>
<p>Here is an example where a user from <ttclass="docutils literal">group_backend_ui_users</tt> can only access and use the Dummy App. No other application is available to this user (you may define your own application instead of the Dummy one).</p>
399
398
<divclass="figure">
400
-
<imgalt="Dummy app for demo" src="https://raw.githubusercontent.com/OCA/server-backend/16.0/base_group_backend/static/description/dummy_app.png" />
399
+
<imgalt="Dummy app for demo" src="https://raw.githubusercontent.com/OCA/server-backend/15.0/base_group_backend/static/description/dummy_app.png" />
401
400
</div>
402
401
<p>We suggest to use this module with its companion <ttclass="docutils literal">base_user_role</tt>.</p>
<p>If you created a specific group with <ttclass="docutils literal">group_backend</tt> or <ttclass="docutils literal">group_backend_ui_users</tt> in its <ttclass="docutils literal">implied_ids</tt>, you need to go through the group’s form page in order to add the user to this specific group, because it won’t be displayed on the user’s form page (a specific group with its own category is displayed on user’s form page only if the group inherits the “Internal user” group).</p>
439
438
<p>This module also <strong>restricts the root menus</strong> displayed to Backend users, so be sure to explicitly add your Backend group to all the necessary root menus for these users.</p>
<p>This module is part of the <aclass="reference external" href="https://github.com/OCA/server-backend/tree/16.0/base_group_backend">OCA/server-backend</a> project on GitHub.</p>
475
+
<p>This module is part of the <aclass="reference external" href="https://github.com/OCA/server-backend/tree/15.0/base_group_backend">OCA/server-backend</a> project on GitHub.</p>
479
476
<p>You are welcome to contribute. To learn how please visit <aclass="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
0 commit comments