security.xml 686 B

12345678910111213141516
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo noupdate="1">
  3. <record id="event_sponsor_rule_share" model="ir.rule">
  4. <field name="name">Event Sponsor: public/portal sponsor or published only</field>
  5. <field name="model_id" ref="website_event_exhibitor.model_event_sponsor"/>
  6. <field name="domain_force">[('website_published', '=', True)]</field>
  7. <field name="groups" eval="[(4, ref('base.group_public')), (4, ref('base.group_portal'))]"/>
  8. <field name="perm_read" eval="True"/>
  9. <field name="perm_write" eval="False"/>
  10. <field name="perm_create" eval="False"/>
  11. <field name="perm_unlink" eval="False"/>
  12. </record>
  13. </odoo>