EP-14 What is a Security in Odoo 18| What are the Different Types of Security Files in Odoo| Odoo 18 – CBMS Odoo ERP

EP-14 What is a Security in Odoo 18| What are the Different Types of Security Files in Odoo| Odoo 18 – CBMS Odoo ERP

1
1 minute, 6 seconds Read

In Odoo, a security file is typically a CSV file or XML that defines access control rules and record rules for different user groups. These files are used to restrict or grant permissions to models (tables) in the database.

link:

Types of Security Files in Odoo
Access Control List (ACL) Files (ir.model.access.csv)

Defines CRUD (Create, Read, Update, Delete) permissions for models.
Located in: your_module/security/ir.model.access.csv
Record Rule Files (security.xml)

Defines domain-based restrictions on records.
Located in: your_module/security/module_name_security.xml
1. ACL File (ir.model.access.csv) 

This file follows a specific structure:

id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
Example (ir.model.access.csv):
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_college_student, access.college.student, college_erp.model_college_student, base.group_user, 1, 1, 1, 1
perm_read: 1 (True), 0 (False) → Allows or disallows access records.

#Odoo18 #OdooSecurity #OdooTutorial #OdooDevelopment #Odoo18Features #OdooTechnical #OdooDev #ERPDevelopment #Odoo18ReleaseDate #AccessControl #RecordRules #Odoo18TechnicalTutorial #Odoo18Security #Odoo18Development #Odoo18Tutorial #Odoo18Technical #Odoo18NewFeatures #Odoo18ReleaseDate #Odoo18ERP #Python #SoftwareDevelopment #OpenSource #EnterpriseSoftware #ERP #TechTutorial

Connect With Us:
—————————————
➡️ Website:
➡️ Email: info@cybrosys.com
➡️ Twitter:
➡️ LinkedIn:
➡️ Facebook:
➡️ Instagram:
➡️ Pinterest:

#EP14 #Security #Odoo #Types #Security #Files #Odoo #Odoo

Similar Posts

Comments on: EP-14 What is a Security in Odoo 18| What are the Different Types of Security Files in Odoo| Odoo 18 – CBMS Odoo ERP

Comments are closed.