Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Goal

This article provides information on how to use the filter by permissions mechanism and how it works.

Prerequisite

Installed Connector - Installing the Connector

Steps to configure filtering by permission

  1. Open or create a Sitefinity page

  2. Place the Hawksearch box and Hawksearch results widgets

  3. Open the widget designer of each widget and click the checkbox

Filtering by permissions workflow

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

  1. Searching and typing trigger the connector’s endpoints

  2. A server-side call to the Hawksearch API is made which returns the result for that request

  3. The user’s permissions are evaluated and used to filter the results server-side

  4. After the filtering is completed the results are displayed to the user though the Hawksearch result widget

Important note

By filtering the results on the server nobody will be able to intercept the request client-side and see the results before they were filtered.

  • No labels