Skip to content

Commit 9a90538

Browse files
committed
[IMP] estate: Grant base users full access to estate property by security rules
Provided the base user group with all the permission for the Estate.property model. Chapter 4
1 parent 3c98f61 commit 9a90538

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

estate/__manifest__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,8 @@
88
An Real Estate App to buy, sell, and rent properties.
99
""",
1010
'application': True,
11-
'license': 'LGPL-3'
11+
'license': 'LGPL-3',
12+
'data': [
13+
'security/ir.model.access.csv',
14+
],
1215
}
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,estate.model_estate_property,base.group_user,1,1,1,1

0 commit comments

Comments
 (0)