[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:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user