We have a requirement where a certain set of user shouldnt have access to the Chatter at all. So we have block Chatter based on Profile in the Record Page. But still we are able to access Chatter via various sources. Like for instances searching for an user or record of any object will give the result for associated chatter in the global search.
So we made use of
Profile-based Chatter Rollout
(solved all the issues) but then this cut off access to Notes & Attachment section for the record. (Needed for the same set of users).
So is there any way we can block the search result of Chatter or make it disappear from the Global Search:
(Remove this Chatter Search Result alone)
#Data Management
You can't control the appearance of chatter in global search by going to search layouts, you will get the error you recieved, that the object's layout is not customizable. Users will always see the posts that are visible to them based on record access, I would suggest limiting access to the records to only the people that strictly need to see it, read this article for information on post visibility: https://help.salesforce.com/s/articleView?id=experience.collab_post_visibility.htm&type=5