<?xml version="1.0" encoding="UTF-8"?>
<openerp>
    <data>

        <record id="openacademy_group_manager" model="res.groups">
            <field name="name">OpenAcademy / Manager</field>
        </record>

        <record id="only_responsible_can_modify" model="ir.rule">
            <field name="name">Only Responsible can modify Course</field>
            <field name="model_id" ref="model_openacademy_course"/>
            <field name="groups" eval="[(4, ref('openacademy.openacademy_group_manager'))]"/>
            <field name="perm_read" eval="0"/>
            <field name="perm_write" eval="1"/>
            <field name="perm_create" eval="0"/>
            <field name="perm_unlink" eval="1"/>
            <field name="domain_force">
                ['|', ('responsible_id','=',False),
                      ('responsible_id','=',user.id)]
            </field>
        </record>

    </data>
</openerp>

<?xml version="1.0" encoding="UTF-8"?>
<openerp>
    <data>

        <record id="openacademy_group_manager" model="res.groups">
            <field name="name">OpenAcademy / Manager</field>
            <field name="users" eval="[(4, ref('base.user_root'))]"/>
        </record>

        <record id="only_responsible_can_modify" model="ir.rule">
            <field name="name">Only Responsible can modify Course</field>
            <field name="model_id" ref="model_openacademy_course"/>
            <field name="groups" eval="[(4, ref('openacademy.openacademy_group_manager'))]"/>
            <field name="perm_read" eval="0"/>
            <field name="perm_write" eval="1"/>
            <field name="perm_create" eval="0"/>
            <field name="perm_unlink" eval="1"/>
            <field name="domain_force">
                ['|', ('responsible_id','=',False),
                      ('responsible_id','=',user.id)]
            </field>
        </record>

    </data>
</openerp>

Include by default the admin user into the group OpenAcademy Manager
[REF] openacademy: Include by default the admin user into the group OpenAcademy Manager
