Browse Source

[FIX] password_security: Fix history rule

* Switch security to be on correct model to fix OCA#674
pull/691/head
Dave Lasley 8 years ago
parent
commit
1725877848
No known key found for this signature in database GPG Key ID: 7DDBA4BA81B934CF
  1. 4
      password_security/security/res_users_pass_history.xml

4
password_security/security/res_users_pass_history.xml

@ -8,9 +8,9 @@
<openerp>
<data>
<record model="ir.rule" id="res_users_pass_history_rule">
<record id="res_users_pass_history_rule" model="ir.rule">
<field name="name">Res Users Pass History Access</field>
<field name="model_id" ref="base.model_ir_sequence"/>
<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)

Loading…
Cancel
Save