diff options
| author | Yannick Tivisse <yti@odoo.com> | 2016-08-23 09:28:07 +0200 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2016-08-23 11:14:37 +0200 |
| commit | ff63f5d0a37a502df420b48656c8d0beb19cb00a (patch) | |
| tree | 79fdbdce04ee921971ff0ec4ba70c9170ca72869 /addons/lunch | |
| parent | 92a60f1340f0122e31807fef1ca80ec196b9c7d5 (diff) | |
[IMP] base_setup: Allow the admin to modify the default user acess rights
Add a link in the general settings to access easily the default_user form view in order to modify the default access rights
The default_user manager rights declarations in all the applications have been move in a noupdate="1" definition to avoid the manual configuration overwrittings
Diffstat (limited to 'addons/lunch')
| -rw-r--r-- | addons/lunch/security/lunch_security.xml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/addons/lunch/security/lunch_security.xml b/addons/lunch/security/lunch_security.xml index 40d7dc17268..f42b9333f79 100644 --- a/addons/lunch/security/lunch_security.xml +++ b/addons/lunch/security/lunch_security.xml @@ -16,9 +16,6 @@ <field name="users" eval="[(4, ref('base.user_root'))]"/> </record> - <record id="base.default_user" model="res.users"> - <field name="groups_id" eval="[(4,ref('lunch.group_lunch_manager'))]"/> - </record> <record id="lunch_mind_your_own_food_money" model="ir.rule"> <field name="name">lunch.cashmove: do not see other people's cashmove</field> @@ -42,4 +39,10 @@ <field name="perm_unlink" eval="1" /> <field name="groups" eval="[(4,ref('lunch.group_lunch_user'))]"/> </record> + + <data noupdate="1"> + <record id="base.default_user" model="res.users"> + <field name="groups_id" eval="[(4,ref('lunch.group_lunch_manager'))]"/> + </record> + </data> </odoo> |
