跳至內容
選單
此問題已被標幟
3 回覆
24243 瀏覽次數

How record rule and access rights works in Odoo and what is the difference between them?

頭像
捨棄
最佳答案

In Odoo, record rules and access rights are used to control user access to data in the system. Both are used to restrict user access to specific records, but they work differently.

Record Rules:

Record rules are used to filter records based on certain conditions. Record rules allow you to define filters that determine which records a user can see and/or modify. For example, you can create a record rule that allows a user to only see their own records or records related to their department. You can also use record rules to hide records from certain users or groups.

Access Rights:

Access rights, on the other hand, are used to control what actions a user can perform on a particular record. For example, you can use access rights to restrict a user from deleting a record or to allow a user to edit certain fields in a record. Access rights can be set at the model level or the field level, and they can be set for individual users or groups of users.

The key difference between record rules and access rights is that record rules are used to control which records a user can see and/or modify, while access rights control what actions a user can perform on a particular record.

To summarize, record rules are used to filter records based on certain conditions, while access rights are used to control what actions a user can perform on a particular record.

頭像
捨棄
最佳答案

Hi William,

 In Odoo, the record rule is a mechanism that controls the visibility and access rights of records in a database based on certain conditions. It allows you to define restrictions on specific records, based on different criteria like user groups, roles, fields, and other conditions. This mechanism is used to ensure that users can only access records that are relevant to their roles and responsibilities, and to restrict access to sensitive or confidential data.

Access rights in Odoo are permissions granted to users to perform specific actions on records or objects in the system. For example, creating, editing, deleting, or viewing records. Odoo allows you to define access rights at different levels, such as user groups, roles, and individual users. These permissions can be assigned to users based on their roles, responsibilities, and job functions.

In combination, record rules and access rights provide a powerful way to control the visibility and accessibility of records in Odoo, ensuring that users have access to the information they need, while maintaining the security and integrity of the database.

above queries are not getting validated by Odoo & so are not shown on the Odoo forum.

Regards,

Ksolves Team

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
8月 23
3186
2
8月 22
2600
1
1月 21
4326
1
12月 17
6746
1
6月 25
2381