Access rights in Odoo 14 | Odoo 14 Developement Tutorials
Grants access to an entire model for a given set of operations. If no access rights match an operation on a model for a user (through their group), the user doesn’t have access.
Access rights are additive, a user’s accesses are the union of the accesses they get through all their groups e.g. given a user who is part of group A granting read and create access and a group B granting update access, the user will have all three of create, read, and update.
class ir.model.access
name: The purpose or role of the group.
model_id: The model that access the ACL controls.
group_id: The res.groups to which the accesses are granted, an empty group_id means the ACL is granted to every user (non-employees e.g. portal or public users).
The perm_method attributes grant the corresponding CRUD access when set, they are all unset by default.
perm_create
perm_read
perm_write
perm_unlink