Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Goal

This article provides information about the functionality, configuration and workflow behind the filter by permissions feature of the Sitefinity connector.

Prerequisite

Info

Configured Connector - Configure Hawksearch

Steps to configure filtering by Permissions

  1. Open the Sitefinity backend, create a user and assign him a role

  2. Edit the permission for that role so that the user cannot view a certain content type e.g News

  3. Go to Content and create one blog post and one news

  4. Go to Administration → Search Indexes , create an index and reindex

  5. Create a Sitefinity page and open it for editting

  6. Place the Hawksearch box and Hawksearch results widgets

  7. Open the widget designer of each widget and click the Filter by permissions checkbox

  8. Under Where to search choose the newly created index and save the changes

  9. Open the page in the Frontend and search for the news that was created

Filter by permissions workflow

Info

When filtering is active the connector exposes endpoints for the search and autocomplete queries making it work as a proxy.

...