odoo/odoo#98347
Created by daonamutc1
Blocked
- Merge method
- Review
-
CI
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team for help in case of failure.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- label
- daonamutc1:v15_fix_mail
- head
- 4f933229efe74b044f7b18240be104e11e5fde71
- target
- 15.0
[FIX] mail: fix error open starred
- When a user stars messages from a channel and messages from an unauthorized document.
- The check_access_rule function does not filter messages on the channel. This function then checks the read permission of the document. And raise an error
- This commit will remove the messages that have been checked above from the document_related_candidate_ids list
https://user-images.githubusercontent.com/55737816/185335551-a46ef072-eb78-4b15-ad82-00b013cbb177.mov
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr