mirror of
https://github.com/odoo/documentation.git
synced 2026-01-04 02:36:32 +07:00
[IMP] developer/*: replace occurrences of "access rule" by "record rule"
Both the functional and technical name of the `ir.rule` model is "Record
Rule". This commit makes sure that all occurrences of "Access Rule" are
replaced by the correct name "Record Rule" as it was easily confused
with "Access Rights".
Original PR: https://github.com/odoo/documentation/pull/1118
closes odoo/documentation#1422
X-original-commit: 46cb0b8e9b
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
@@ -7,7 +7,7 @@ Data Files
|
||||
|
||||
Odoo is greatly data-driven, and a big part of modules definition is thus
|
||||
the definition of the various records it manages: UI (menus and views),
|
||||
security (access rights and access rules), reports and plain data are all
|
||||
security (access rights and record rules), reports and plain data are all
|
||||
defined via records.
|
||||
|
||||
Structure
|
||||
|
||||
@@ -79,14 +79,14 @@ will have all three of create, read, and update.
|
||||
|
||||
.. _reference/security/rules:
|
||||
|
||||
Access Rules
|
||||
Record Rules
|
||||
============
|
||||
|
||||
Record rules are *conditions* which must be satisfied in order for an operation
|
||||
to be allowed. Record rules are evaluated record-by-record, following access
|
||||
rights.
|
||||
|
||||
Access rules are default-allow: if access rights grant access and no rule
|
||||
Record rules are default-allow: if access rights grant access and no rule
|
||||
applies to the operation and model for the user, the access is granted.
|
||||
|
||||
.. class:: ir.rule
|
||||
|
||||
Reference in New Issue
Block a user