You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
805 B

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data noupdate="0">
  4. <record model="res.groups" id="group_sql_request_editor">
  5. <field name="name">Sql Request Editor</field>
  6. <field name="users" eval="[(4, ref('base.user_root'))]"/>
  7. </record>
  8. <record model="ir.rule" id="sql_export_restric_access_user_or_group">
  9. <field name="name" >SQL Export users and groups rules</field>
  10. <field name="model_id" ref="model_sql_export"/>
  11. <field eval="1" name="perm_read"/>
  12. <field eval="0" name="perm_create"/>
  13. <field eval="0" name="perm_write"/>
  14. <field eval="0" name="perm_unlink"/>
  15. <field name="domain_force">['|', ('user_ids','=',user.id), ('group_ids','in', [x.id for x in user.groups_id])]</field>
  16. </record>
  17. </data>
  18. </openerp>