-
- Downloads
[IMP] base: Remove useless ACL rules
Now that portal users don't have access to the backend, it doesn't make sense to give the read access on attachments, as this is the role of the specific controllers to provide this access according to the business logic. For the record, these rules have been introduced at: https://github.com/odoo/odoo/commit/61065b6d04248aa496765e1035c4c90cbdc38de7 https://github.com/odoo/odoo/commit/f3fa266d115ac9d4723164af10f8dee40821b290 closes odoo/odoo#32134 Signed-off-by:Yannick Tivisse (yti) <yti@odoo.com>
Showing
- addons/mail/models/ir_attachment.py 1 addition, 1 deletionaddons/mail/models/ir_attachment.py
- addons/mail/models/mail_thread.py 1 addition, 1 deletionaddons/mail/models/mail_thread.py
- addons/test_mail/tests/test_odoobot.py 6 additions, 1 deletionaddons/test_mail/tests/test_odoobot.py
- addons/website_sale_digital/models/product.py 4 additions, 4 deletionsaddons/website_sale_digital/models/product.py
- odoo/addons/base/models/ir_attachment.py 26 additions, 7 deletionsodoo/addons/base/models/ir_attachment.py
- odoo/addons/base/models/ir_http.py 13 additions, 5 deletionsodoo/addons/base/models/ir_http.py
- odoo/addons/base/security/ir.model.access.csv 1 addition, 2 deletionsodoo/addons/base/security/ir.model.access.csv
- odoo/models.py 1 addition, 1 deletionodoo/models.py
Loading
Please register or sign in to comment