Browse Source

Merge pull request #9 from LasLabs/bugfix/8.0/674-password_security-invalid_leaf

[8.0][FIX] password_security: Fix history rule
pull/691/head
David Beal 8 years ago
committed by GitHub
parent
commit
57fc78b119
  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