Skip to content

Commit 2c518fe

Browse files
committed
[IMP] estate: Implement access rights for property model
- Added a security CSV file in the `security` folder. - Granted users access to the `estate.property` model. These changes ensure that only authorized users can access and manage estate properties, improving data security and compliance with access control rules.
1 parent 28a81ca commit 2c518fe

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

estate/__manifest__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,8 @@
66
'author': 'snrav-odoo',
77
'license': 'LGPL-3',
88
'description': 'Real estate purchase & sales',
9+
'data': [
10+
'security/ir.model.access.csv'
11+
],
912
'application': True,
1013
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
2+
estate.access_estate_property,access_estate_property,model_estate_property,base.group_user,1,1,1,1

0 commit comments

Comments
 (0)