[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#1423

X-original-commit: a692dbdc9c
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
Antoine Vandevenne (anv)
2021-12-15 11:43:42 +00:00
parent 6483288614
commit f612d5f105
4 changed files with 17 additions and 16 deletions

View File

@@ -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

View File

@@ -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