Specify explicit route for each ,, line This is part of task 3230280 where global ir.model.access will be forbidden. The goal is to make access to public/portal explicit. Too often, global access was granted with only employees in mind. Remove ,,0,0,0,0 lines mail: employee already had read access to mail.group still needed to subtypes as in ir.rule domain mail_group: employee already had read access pos_mercury: only needed for employees membership: move public access for website_membership as needed in the controllers website_customer: employee already had read access website_event_booth: no need for category website_event_exhibitor: retrieved in sudo website_event_track: not needed for location Part-of: odoo/odoo#125216
1.1 KiB
1.1 KiB
| 1 | id | name | model_id:id | group_id:id | perm_read | perm_write | perm_create | perm_unlink |
|---|---|---|---|---|---|---|---|---|
| 2 | access_mail_test_portal_user | mail.test.portal.user | model_mail_test_portal | base.group_user | 1 | 1 | 1 | 1 |
| 3 | access_mail_test_portal_no_partner_portal | mail.test.portal.no.partner.all | model_mail_test_portal_no_partner | base.group_portal | 1 | 0 | 0 | 0 |
| 4 | access_mail_test_portal_no_partner_user | mail.test.portal.no.partner.user | model_mail_test_portal_no_partner | base.group_user | 1 | 1 | 1 | 1 |
| 5 | access_mail_test_rating_all | mail.test.rating.all | model_mail_test_rating | base.group_user | 0 | 0 | 0 | 0 |
| 6 | access_mail_test_rating_portal | mail.test.rating.portal | model_mail_test_rating | base.group_portal | 1 | 0 | 0 | 0 |
| 7 | access_mail_test_rating_user | mail.test.rating.user | model_mail_test_rating | base.group_user | 1 | 1 | 1 | 1 |
| 8 | access_mail_test_rating_thread_all | mail.test.rating.thread.all | model_mail_test_rating_thread | 0 | 0 | 0 | 0 | |
| 9 | access_mail_test_rating_thread_portal | mail.test.rating.thread.portal | model_mail_test_rating_thread | base.group_portal | 1 | 0 | 0 | 0 |
| 10 | access_mail_test_rating_thread_user | mail.test.rating.thread.user | model_mail_test_rating_thread | base.group_user | 1 | 1 | 1 | 1 |