<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
    <record id="website_designer_edit_qweb" model="ir.rule">
        <field name="name">website_designer: Manage Website and qWeb view</field>
        <field name="model_id" ref="base.model_ir_ui_view"/>
        <field name="domain_force">[('type', '=', 'qweb')]</field>
        <field name="groups" eval="[(4, ref('base.group_website_designer'))]"/>
        <field name="perm_read" eval="True"/>
        <field name="perm_write" eval="True"/>
        <field name="perm_create" eval="True"/>
        <field name="perm_unlink" eval="True"/>
    </record>
    <record id="website_designer_view" model="ir.rule">
        <field name="name">website_designer: global view</field>
        <field name="model_id" ref="base.model_ir_ui_view"/>
        <field name="domain_force">[('type', '!=', 'qweb')]</field>
        <field name="groups" eval="[(4, ref('base.group_website_designer'))]"/>
        <field name="perm_read" eval="True"/>
        <field name="perm_write" eval="False"/>
        <field name="perm_create" eval="False"/>
        <field name="perm_unlink" eval="False"/>
    </record>
</data>
</openerp>