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.

32 lines
1.3 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright 2016 SYLEAM
  4. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  5. -->
  6. <odoo>
  7. <record id="group_oauth_provider_manager" model="res.groups">
  8. <field name="name">OAuth Provider Manager</field>
  9. </record>
  10. <record id="ir_rule_authorization_code_restricted_to_current_user" model="ir.rule">
  11. <field name="name">Authorization Code access restricted to current user</field>
  12. <field name="domain_force">[('user_id', '=', uid)]</field>
  13. <field name="groups" eval="[]"/>
  14. <field name="model_id" ref="model_oauth_provider_authorization_code"/>
  15. <field name="perm_create" eval="1"/>
  16. <field name="perm_read" eval="0"/>
  17. <field name="perm_unlink" eval="0"/>
  18. <field name="perm_write" eval="0"/>
  19. </record>
  20. <record id="ir_rule_token_restricted_to_current_user" model="ir.rule">
  21. <field name="name">Token access restricted to current user</field>
  22. <field name="domain_force">[('user_id', '=', uid)]</field>
  23. <field name="groups" eval="[]"/>
  24. <field name="model_id" ref="model_oauth_provider_token"/>
  25. <field name="perm_create" eval="1"/>
  26. <field name="perm_read" eval="0"/>
  27. <field name="perm_unlink" eval="0"/>
  28. <field name="perm_write" eval="0"/>
  29. </record>
  30. </odoo>