[16.0][FIX] base_search_mail_content: Allow messsage_content search only for internal users
Related issue: https://github.com/OCA/social/issues/1204
This PR adds a message_content search feature exclusively for internal users, considering constraints in specific model views like project.task. I welcome alternative solutions and suggestions.
@qrtl
@yostashiro fix works on 17.0 as well.
This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖
What a great day to merge this nice PR. Let's do it! Prepared branch 16.0-ocabot-merge-pr-1205-by-pedrobaeza-bump-patch, awaiting test results.
Congratulations, your PR was merged at ea356df3928378b33dc6a6d7faed2dc766586fb4. Thanks a lot for contributing to OCA. ❤️
@AungKoKoLin1997 Can you please forward-port this to 17.0?
@chrisprintfactory FYI, I created a forward-port PR for 17.0. https://github.com/OCA/social/pull/1385