Sitecore has implemented the Permission-Enabled Search feature starting from Sitecore XP 9.3. By default, the feature is enabled for the sitecore_master_index search index. The Permission-Enabled Search feature filters out search results based on the item:read permissions of the context user.
In some cases, the feature might filter out the search results even if the user is allowed to read the corresponding items.
The issue occurs if one of the user roles denies item:read access:
To resolve the issue:
Alternatively, you can disable the Permission-Enabled Search feature. To disable this feature for the sitecore_master_index:
<?xml version="1.0" encoding="utf-8" ?> <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/" xmlns:search="http://www.sitecore.net/xmlconfig/search/"> <sitecore role:require="Standalone or ContentManagement or XMCloud" search:require="solr"> <contentSearch> <configuration> <indexes hint="list:AddIndex"> <index id="sitecore_master_index"> <configuration> <enableReadAccessIndexing>false</enableReadAccessIndexing> </configuration> </index> </indexes> </configuration> </contentSearch> </sitecore> </configuration>
Note: After the feature has been been disabled, the security check is performed on the Sitecore Client side. This might have the following side effects: