mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[14.0] group_backend: new module and rename group_backend to base_group_backend
As a developer we have to keep in mind using this module and grant a user with 's group is equivalent to grant 's group everywhere has been used. Co-authored-by: Jean-Charles Drubay <jcdrubay@users.noreply.github.com>
This commit is contained in:
committed by
David Beal
parent
1e7e7199fd
commit
b22c4bdf51
18
base_group_backend/data/res-groups.xml
Normal file
18
base_group_backend/data/res-groups.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<odoo>
|
||||
<record model="res.groups" id="group_backend">
|
||||
<field name="name">Backend user</field>
|
||||
<field name="category_id" ref="base.module_category_user_type" />
|
||||
<field name="comment">
|
||||
This group is used to gives user backend access.
|
||||
|
||||
While users in `base.group_user` gets a lot of default access
|
||||
which makes hard to define properly records/rules/menu access.
|
||||
|
||||
So for maintainability you shouldn't linked any access right, rules,
|
||||
menu, and so on to this group directly.
|
||||
|
||||
The only intent of this groups is to be able to get a session
|
||||
to Odoo backend (`/web`).
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user