[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
This commit is contained in:
Yannick Tivisse
2016-08-23 11:14:37 +02:00
parent 92a60f1340
commit ff63f5d0a3
16 changed files with 71 additions and 49 deletions
+2 -2
View File
@@ -14,11 +14,11 @@
<field name="category_id" ref="module_fleet_category"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<data noupdate="1">
<record id="base.default_user" model="res.users">
<field name="groups_id" eval="[(4,ref('fleet.fleet_group_manager'))]"/>
</record>
<data noupdate="1">
<record id="fleet_rule_contract_visibility_user" model="ir.rule">
<field name="name">User can only see his/her contracts</field>
<field name="model_id" ref="model_fleet_vehicle_log_contract"/>