The tests consist in sending a mail related to a record to a customer and checking that the record can be viewed through the embedded link: - either in the backend if the user is connected and has the right to - or in the portal otherwise It also test that if the embedded link is tampered, the access is forbidden. Task-2797311 closes odoo/odoo#105405 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
539 B
539 B
| 1 | id | name | model_id:id | group_id:id | perm_read | perm_write | perm_create | perm_unlink |
|---|---|---|---|---|---|---|---|---|
| 2 | access_mail_test_portal_all | mail.test.portal.all | model_mail_test_portal | 0 | 0 | 0 | 0 | |
| 3 | access_mail_test_portal_user | mail.test.portal.user | model_mail_test_portal | base.group_user | 1 | 1 | 1 | 1 |
| 4 | access_mail_test_rating_all | mail.test.rating.all | model_mail_test_rating | 0 | 0 | 0 | 0 | |
| 5 | access_mail_test_rating_portal | mail.test.rating.portal | model_mail_test_rating | base.group_portal | 1 | 0 | 0 | 0 |
| 6 | access_mail_test_rating_user | mail.test.rating.user | model_mail_test_rating | base.group_user | 1 | 1 | 1 | 1 |