<?xml version="1.0" encoding="UTF-8"?>
<odoo>
    <record id="event_compassion_public" model="ir.rule">
        <field name="name">Compassion event: Public</field>
        <field name="model_id" ref="model_crm_event_compassion"/>
        <field name="domain_force">[('website_published', '=', True)]</field>
        <field name="groups" eval="[(4, ref('base.group_public')), (4, ref('base.group_portal'))]"/>
        <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>
</odoo>

<?xml version="1.0" encoding="UTF-8"?>
<odoo>
    <record id="event_compassion_public" model="ir.rule">
        <field name="name">Compassion event: Public</field>
        <field name="model_id" ref="model_crm_event_compassion"/>
        <field name="domain_force">[('website_published', '=', True)]</field>
        <field name="groups" eval="[(4, ref('base.group_public')), (4, ref('base.group_portal'))]"/>
        <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>
    <record id="event_compassion_personal" model="ir.rule">
        <field name="name">Compassion event: My events</field>
        <field name="model_id" ref="model_crm_event_compassion"/>
        <field name="domain_force">[('registration_ids.partner_id.user_ids', 'in', user.id)]</field>
        <field name="groups" eval="[(4, ref('base.group_portal'))]"/>
        <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>
</odoo>

Add access to participants to their events
Add access to participants to their events
