Document level security - search packages
Document level security can be applied to a search package, which may contain a mix of secured and unsecured data sources.
|this feature is unavailable in cloud versions of Funnelback.|
The first step to take is to create the data sources as you would normally. (See the relevant pages for the type of data source you wish to create)
|All data sources included in a search package must have authentication enabled (ui.modern.authentication) as these collection will be used to serve results).|
Ensure each data source to be secured is correctly configured for document level security (Check the security.earlybinding.locks-keys-matcher.name and security.earlybinding.user-to-key-mapper parameters).
Create a search package as you would normally.
Include the appropriate data sources in the search package.
Edit the search page configuration options, and set security.earlybinding.user-to-key-mapper to
Meta. This will tell Funnelback to delegate user keys fetching to the plugins configured on each data source (i.e.
Trim, … depending on the component type).