summaryrefslogtreecommitdiff
path: root/addons/lunch/security
diff options
context:
space:
mode:
authorArnaud Pineux <api@openerp.com>2012-11-02 09:15:48 +0100
committerArnaud Pineux <api@openerp.com>2012-11-02 09:15:48 +0100
commited791d908c5fe8da2e5fe7eec9af66031cf8f33a (patch)
tree582586af3fdf53441b3ff9ad819c73afbc0f40ad /addons/lunch/security
parent4c73fdc993cb02f58a196913bb3f26ca86d20d59 (diff)
Lunch
bzr revid: api@openerp.com-20121102081548-1ujcb6v6ivsx9dr5
Diffstat (limited to 'addons/lunch/security')
-rw-r--r--addons/lunch/security/groups.xml18
-rw-r--r--addons/lunch/security/ir.model.access.csv4
2 files changed, 1 insertions, 21 deletions
diff --git a/addons/lunch/security/groups.xml b/addons/lunch/security/groups.xml
index df8b675425d..bf6fb63ad30 100644
--- a/addons/lunch/security/groups.xml
+++ b/addons/lunch/security/groups.xml
@@ -115,23 +115,5 @@
<field eval="0" name="perm_create"/>
<field model="res.groups" name="group_id" search="[('full_name', '=', u'lunch / User')]"/>
</record>
- <record id="ir_model_access_lunchpreferences0" model="ir.model.access">
- <field name="model_id" ref="model_lunch_preference"/>
- <field eval="1" name="perm_read"/>
- <field name="name">lunch preferences</field>
- <field eval="1" name="perm_unlink"/>
- <field eval="1" name="perm_write"/>
- <field eval="1" name="perm_create"/>
- <field model="res.groups" name="group_id" search="[('full_name', '=', u'lunch / Manager')]"/>
- </record>
- <record id="ir_model_access_lunchpreferences1" model="ir.model.access">
- <field name="model_id" ref="model_lunch_preference"/>
- <field eval="1" name="perm_read"/>
- <field name="name">lunch preferences</field>
- <field eval="1" name="perm_unlink"/>
- <field eval="1" name="perm_write"/>
- <field eval="1" name="perm_create"/>
- <field model="res.groups" name="group_id" search="[('full_name', '=', u'lunch / User')]"/>
- </record>
</data>
</openerp>
diff --git a/addons/lunch/security/ir.model.access.csv b/addons/lunch/security/ir.model.access.csv
index 23a43a5bd93..026a43e0a61 100644
--- a/addons/lunch/security/ir.model.access.csv
+++ b/addons/lunch/security/ir.model.access.csv
@@ -5,11 +5,9 @@ cashmove_user,"Cashmove user",model_lunch_cashmove,group_lunch_manager,1,1,1,1
product_user,"Product user",model_lunch_product,group_lunch_manager,1,1,1,1
product_category_user,"Product category user",model_lunch_product_category,group_lunch_manager,1,1,1,1
alert_user,"Alert user",model_lunch_alert,group_lunch_manager,1,1,1,1
-preference_user,"Preference user",model_lunch_preference,group_lunch_manager,1,1,1,1
order_user,"Order user",model_lunch_order,group_lunch_user,1,1,1,0
order_line_user,"Order Line user",model_lunch_order_line,group_lunch_user,1,1,1,1
cashmove_user,"Cashmove user",model_lunch_cashmove,group_lunch_user,1,0,0,0
product_user,"Product user",model_lunch_product,group_lunch_user,1,0,0,0
product_category_user,"Product category user",model_lunch_product_category,group_lunch_user,1,0,0,0
-alert_user,"Alert user",model_lunch_alert,group_lunch_user,1,0,0,0
-preference_user,"Preference user",model_lunch_preference,group_lunch_user,1,1,1,1 \ No newline at end of file
+alert_user,"Alert user",model_lunch_alert,group_lunch_user,1,0,0,0 \ No newline at end of file