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.
49 lines
1.9 KiB
49 lines
1.9 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Asterisk Click2dial module for OpenERP
|
|
Copyright (C) 2010 Alexis de Lattre <alexis@via.ecp.fr>
|
|
The licence is in the file __terp__.py
|
|
-->
|
|
|
|
<openerp>
|
|
<data noupdate="1">
|
|
|
|
<!-- Default access rules for the new asterisk.server object -->
|
|
<record id="ir_model_access_asterisk_server_user" model="ir.model.access">
|
|
<field name="model_id" ref="asterisk_click2dial.model_asterisk_server"/>
|
|
<field name="name" eval=""""asterisk.server_user"""" />
|
|
<field name="group_id" ref="base.group_user"/>
|
|
<field name="perm_read" eval="1"/>
|
|
<field name="perm_write" eval="0"/>
|
|
<field name="perm_unlink" eval="0"/>
|
|
<field name="perm_create" eval="0"/>
|
|
</record>
|
|
|
|
<record id="ir_model_access_asterisk_server_system" model="ir.model.access">
|
|
<field name="model_id" ref="asterisk_click2dial.model_asterisk_server"/>
|
|
<field name="name" eval=""""asterisk.server_system""""/>
|
|
<field name="group_id" ref="base.group_system"/>
|
|
<field name="perm_read" eval="1"/>
|
|
<field name="perm_write" eval="1"/>
|
|
<field name="perm_unlink" eval="1"/>
|
|
<field name="perm_create" eval="1"/>
|
|
</record>
|
|
|
|
<!-- New group dedicated to the "Get CallerID name from OpenERP" feature -->
|
|
<record id="group_asterisk_cid" model="res.groups">
|
|
<field name="name">Asterisk CallerID</field>
|
|
</record>
|
|
|
|
<!-- Only add the minimum rights to the "Asterisk CallerID" group -->
|
|
<record id="ir_model_access_asterisk_cid" model="ir.model.access">
|
|
<field name="model_id" ref="base.model_res_partner_address"/>
|
|
<field name="name" eval=""""res.partner.address_read""""/>
|
|
<field name="group_id" ref="asterisk_click2dial.group_asterisk_cid"/>
|
|
<field name="perm_read" eval="1"/>
|
|
<field name="perm_write" eval="0"/>
|
|
<field name="perm_unlink" eval="0"/>
|
|
<field name="perm_create" eval="0"/>
|
|
</record>
|
|
|
|
</data>
|
|
</openerp>
|