When integrating Optimizely Search & Navigation with Optimizely Content Management System (CMS), the search engine does not filter documents (such as pages or files) according to access rights. However, the return values from the
IContent extension methods
UsersWithReadAccess are indexed. You can use these methods to ensure that only users with access rights to the supplied roles/users see the content.
SearchClient.Instance.Search<StandardPage>() .For("Possibly secret stuff") .Filter(x => x.RolesWithReadAccess().Match("Everyone")) .GetContentResult();
Members assigned to the roles WebAdmins, Administrators, SearchAdmins, and SearchEditors can access the Search & Navigation user interface. Only WebAdmins, Administrators, and SearchAdmins can clear indexes. See Shell module.
Updated 4 days ago