summaryrefslogtreecommitdiff
path: root/addons/lunch/security
diff options
context:
space:
mode:
authorAMP (OpenERP) <amp@tinyerp.com>2010-08-07 18:18:15 +0530
committerAMP (OpenERP) <amp@tinyerp.com>2010-08-07 18:18:15 +0530
commitacd29a2ff21fccf25e70745d3152fe686ae361dd (patch)
treecf591ee21075ce94e907c4d32c6c517e150fed44 /addons/lunch/security
parent9b307b3d870815f2fdbb1d7e7194f87883b477dd (diff)
[MOD] lunch: usability improvement in access rights
bzr revid: amp@tinyerp.com-20100807124815-bl3z17efhbcmc6m6
Diffstat (limited to 'addons/lunch/security')
-rw-r--r--addons/lunch/security/ir.model.access.csv11
-rw-r--r--addons/lunch/security/lunch_security.xml6
2 files changed, 17 insertions, 0 deletions
diff --git a/addons/lunch/security/ir.model.access.csv b/addons/lunch/security/ir.model.access.csv
index 75f7b3543a6..5d5ab895aa0 100644
--- a/addons/lunch/security/ir.model.access.csv
+++ b/addons/lunch/security/ir.model.access.csv
@@ -6,3 +6,14 @@
"access_lunch_order","lunch.order","model_lunch_order","base.group_user",1,1,1,1
"access_report_lunch_amount","report.lunch.amount","model_report_lunch_amount","base.group_user",1,1,1,1
"access_lunch_order_sale_salesman","lunch.order.sale","model_lunch_order","base.group_sale_salesman",1,1,1,1
+"access_lunch_order_user","lunch.order user","model_lunch_order","base.group_survey_user",1,1,1,1
+"access_lunch_order_manager","lunch.order manager","model_lunch_order","base.group_survey_manager",1,0,0,0
+"access_lunch_cashmove_user","lunch.cashmove user","model_lunch_cashmove","base.group_survey_user",1,1,1,1
+"access_lunch_cashmove_manager","lunch.cashmove manager","model_lunch_cashmove","base.group_survey_manager",1,0,0,0
+"access_report_lunch_amount_manager","report.lunch.amount manager","model_report_lunch_amount","base.group_survey_manager",1,1,1,1
+"access_lunch_category_system","lunch.category system","model_lunch_category","base.group_system",1,1,1,1
+"access_lunch_product_system","lunch.product system","model_lunch_product","base.group_system",1,1,1,1
+"access_lunch_cashbox_system","lunch.cashbox system","model_lunch_cashbox","base.group_system",1,1,1,1
+"access_lunch_order_system","lunch.order system","model_lunch_order","base.group_system",1,0,0,0
+"access_lunch_cashmove_system","lunch.cashmove system","model_lunch_cashmove","base.group_system",1,0,0,0
+"access_report_lunch_order_manager","report.lunch.order manager","model_report_lunch_order","base.group_survey_manager",1,1,1,1
diff --git a/addons/lunch/security/lunch_security.xml b/addons/lunch/security/lunch_security.xml
index d85df3508b7..10359c0b51d 100644
--- a/addons/lunch/security/lunch_security.xml
+++ b/addons/lunch/security/lunch_security.xml
@@ -5,6 +5,12 @@
<record id="base.group_sale_salesman" model="res.groups">
<field name="name">Sales / Salesman</field>
</record>
+ <record model="res.groups" id="base.group_survey_manager">
+ <field name="name">Tools / Manager</field>
+ </record>
+ <record model="res.groups" id="base.group_survey_user">
+ <field name="name">Tools / User</field>
+ </record>
</data>
</openerp>