mirror of
https://gitlab.com/flectra-community/reporting-engine.git
synced 2024-11-15 10:42:07 +00:00
17 lines
619 B
XML
17 lines
619 B
XML
|
<?xml version="1.0" encoding="utf-8" ?>
|
||
|
<flectra noupdate="1">
|
||
|
|
||
|
<record model="ir.rule" id="sql_export_restric_access_user_or_group">
|
||
|
<field name="name">SQL Export users and groups rules</field>
|
||
|
<field name="model_id" ref="model_sql_export" />
|
||
|
<field eval="1" name="perm_read" />
|
||
|
<field eval="0" name="perm_create" />
|
||
|
<field eval="0" name="perm_write" />
|
||
|
<field eval="0" name="perm_unlink" />
|
||
|
<field
|
||
|
name="domain_force"
|
||
|
>['|', ('user_ids','=',user.id), ('group_ids','in', [x.id for x in user.groups_id])]</field>
|
||
|
</record>
|
||
|
|
||
|
</flectra>
|