Skip to content

Commit 235621f

Browse files
committed
[IMP] estate: implimented security for model access
1 parent c6a7fab commit 235621f

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

estate/__manifest__.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,15 @@
22
'name': "Real Estate",
33
'version': '1.0',
44
'depends': ['base'],
5-
'author': "Darshil Naliyapara",
5+
'author': "danal",
66
'category': 'Category',
77
'application': True,
8+
'license': 'LGPL-3',
89
'description': """
910
Description text
1011
""",
11-
# data files always loaded at installation
1212
'data': [
13-
# 'views/mymodule_view.xml',
14-
],
15-
# data files containing optionally loaded demonstration data
16-
'demo': [
17-
# 'demo/demo_data.xml',/
13+
'views/estate_view.xml',
14+
'security/ir.model.access.csv'
1815
],
1916
}
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,0,0,0

estate/views/estate_view.xml

Whitespace-only changes.

0 commit comments

Comments
 (0)