security.xml 706 B

1234567891011121314151617
  1. <odoo>
  2. <!-- copies ACL for portal users -->
  3. <record model="ir.model.access" id="access_auth_totp_portal_wizard">
  4. <field name="name">auth_totp_portal wizard access rules</field>
  5. <field name="model_id" ref="auth_totp.model_auth_totp_wizard"/>
  6. <field name="group_id" ref="base.group_portal"/>
  7. <field name="perm_read">1</field>
  8. <field name="perm_write">1</field>
  9. <field name="perm_create">1</field>
  10. <field name="perm_unlink">1</field>
  11. </record>
  12. <!-- adds portal users to rule -->
  13. <record model="ir.rule" id="auth_totp.rule_auth_totp_wizard">
  14. <field name="groups" eval="[(4, ref('base.group_portal'))]"/>
  15. </record>
  16. </odoo>