You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

26 lines
948 B

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2016 LasLabs Inc.
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
-->
<odoo noupdate="1">
<record id="res_users_pass_history_rule" model="ir.rule">
<field name="name">Res Users Pass History Access</field>
<field name="model_id" ref="password_security.model_res_users_pass_history"/>
<field name="groups" eval="[(4, ref('base.group_user'))]"/>
<field name="domain_force">[
('user_id', '=', user.id)
]</field>
</record>
<record id="res_users_pass_history_rule_manager" model="ir.rule">
<field name="name">Res Users Pass History Access/Managers</field>
<field name="model_id" ref="password_security.model_res_users_pass_history"/>
<field name="groups" eval="[(4, ref('base.group_erp_manager'))]"/>
<field name="domain_force">[(1, '=', 1)]</field>
</record>
</odoo>