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
335 B
335 B
| 1 | id | name | model_id:id | group_id:id | perm_read | perm_write | perm_create | perm_unlink |
|---|---|---|---|---|---|---|---|---|
| 2 | access_test_model_public | access_test_model | model_test_model | base.group_public | 1 | 0 | 0 | 0 |
| 3 | access_test_model_portal | access_test_model | model_test_model | base.group_portal | 1 | 0 | 0 | 0 |
| 4 | access_test_model_employee | access_test_model | model_test_model | base.group_user | 1 | 0 | 0 | 0 |