mirror of
https://github.com/bringout/oca-server-auth.git
synced 2026-04-18 14:12:10 +02:00
Initial commit: OCA Server Auth packages (29 packages)
This commit is contained in:
commit
3ed80311c4
1325 changed files with 127292 additions and 0 deletions
|
|
@ -0,0 +1,3 @@
|
|||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
access_res_users_pass_history,access_res_users_pass_history,model_res_users_pass_history,base.group_user,1,0,1,0
|
||||
access_res_users_pass_history_portal,access_res_users_pass_history portal,model_res_users_pass_history,base.group_portal,1,0,1,0
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
<?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>
|
||||
<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="erp_manager_pass_history_rule" model="ir.rule">
|
||||
<field name="name">Res Users Pass History Access</field>
|
||||
<field name="perm_read">0</field>
|
||||
<field name="perm_write">0</field>
|
||||
<field name="perm_create">1</field>
|
||||
<field name="perm_unlink">0</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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue