summaryrefslogtreecommitdiff
path: root/addons/project/security/project_security.xml
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2016-08-23 09:28:07 +0200
committerYannick Tivisse <yti@odoo.com>2016-08-23 11:14:37 +0200
commitff63f5d0a37a502df420b48656c8d0beb19cb00a (patch)
tree79fdbdce04ee921971ff0ec4ba70c9170ca72869 /addons/project/security/project_security.xml
parent92a60f1340f0122e31807fef1ca80ec196b9c7d5 (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/project/security/project_security.xml')
-rw-r--r--addons/project/security/project_security.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/addons/project/security/project_security.xml b/addons/project/security/project_security.xml
index 7f06484836c..eea59a61459 100644
--- a/addons/project/security/project_security.xml
+++ b/addons/project/security/project_security.xml
@@ -14,16 +14,15 @@
<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('project.group_project_manager'))]"/>
- </record>
-
<record id="group_time_work_estimation_tasks" model="res.groups">
<field name="name">Time Estimation on Tasks</field>
<field name="category_id" ref="base.module_category_hidden"/>
</record>
<data noupdate="1">
+ <record id="base.default_user" model="res.users">
+ <field name="groups_id" eval="[(4,ref('project.group_project_manager'))]"/>
+ </record>
<record model="ir.rule" id="project_comp_rule">
<field name="name">Project: multi-company</field>