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
636 B
636 B
| 1 | id | name | model_id:id | group_id:id | perm_read | perm_write | perm_create | perm_unlink |
|---|---|---|---|---|---|---|---|---|
| 2 | access_website_twitter_tweet_public_public | access of twitter snippet | website_twitter.model_website_twitter_tweet | base.group_public | 1 | 0 | 0 | 0 |
| 3 | access_website_twitter_tweet_public_portal | access of twitter snippet | website_twitter.model_website_twitter_tweet | base.group_portal | 1 | 0 | 0 | 0 |
| 4 | access_website_twitter_tweet_public_employee | access of twitter snippet | website_twitter.model_website_twitter_tweet | base.group_user | 1 | 0 | 0 | 0 |
| 5 | access_website_twitter_tweet_manage | manage tweets | website_twitter.model_website_twitter_tweet | website.group_website_restricted_editor | 1 | 1 | 1 | 1 |