<@U06TM7M40RK> How do i hide the viewentity from search on a dataset to all groups other than what i intend to for a certain group
It seems likely that hiding search results for specific user groups in DataHub is currently not supported. According to a <Slack discussion>, while you can deactivate the default policy “All Users - View Entity Page” to restrict access to entity pages, users can still see all entities in search results. This means that even if users are unauthorized to view the details of a dataset, they might still see it listed in search results.
Additionally, another <Slack thread> confirms that the current state of DataHub does not hide entities in search results that users do not have rights to view. However, there are discussions about potentially adding this feature in the future.
If you are interested in implementing a workaround or contributing to the project, you might consider filtering search results in the backend before they are forwarded to the UI, as suggested in the <Slack discussion>.
Would you like more detailed steps or specific examples on how to manage access control policies or any other aspect of this process?
Sources: