Search API Processor to filter out password protected pages

Created on 10 March 2025, 4 months ago

We want to be able

Have password protected nodes filtered out of the site search on a site using Search API.

Proposed resolution

Add a Search API processor that removes nodes that have an Entity Access Password field configured to protect a specified view mode with a password actually set.

The processor will utilise the Entity Access Password PasswordAccessManager isEntityViewModeProtected() method to determine if the node should be removed from the index or not.

The processor will contain a configuration form with one element to select the view mode to check and will default to search_index.

Feature request
Status

Active

Version

1.1

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024