record_rules.xml 1.2 KB

1234567891011121314151617181920212223242526
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record model="ir.rule" id="fetchmail_server_inbox_user_rule">
  5. <field name="name">Inbox Server: User</field>
  6. <field name="model_id" ref="model_fetchmail_server_inbox"></field>
  7. <field name="groups" eval="[(4,ref('base.group_user'))]"></field>
  8. <field name="domain_force">[('create_uid', '=', user.id)]</field>
  9. <field eval="1" name="perm_write"></field>
  10. <field eval="1" name="perm_read"></field>
  11. <field eval="1" name="perm_unlink"></field>
  12. <field eval="1" name="perm_create"></field>
  13. </record>
  14. <record model="ir.rule" id="mail_inbox_user_rule">
  15. <field name="name">Inbox Mail: User</field>
  16. <field name="model_id" ref="model_mail_inbox"></field>
  17. <field name="groups" eval="[(4,ref('base.group_user'))]"></field>
  18. <field name="domain_force">[('create_uid', '=', user.id)]</field>
  19. <field eval="1" name="perm_write"></field>
  20. <field eval="1" name="perm_read"></field>
  21. <field eval="1" name="perm_unlink"></field>
  22. <field eval="1" name="perm_create"></field>
  23. </record>
  24. </data>
  25. </openerp>