Problem

The Social Profile Privacy allows hiding of real names in search for users that have a nickname filled in. This is currently implemented using some quite complex query conditions. This leads to some edge cases where this malfunctions.

Solution

Re-implement as a Search API processor. This allows us to create a field that contains the value for restricted users and allows the value for unrestricted users to live next to it. In the query alter we can then simply disable fields the user does not have access to. This creates a more robust solution.

Comments

Kingdutch created an issue. See original summary.

kingdutch’s picture

Assigned: kingdutch » Unassigned
Status: Active » Reviewed & tested by the community
robertragas’s picture

Status: Reviewed & tested by the community » Fixed

Merged and will be part of the 7.0 release

  • jaapjan committed ef7cbaa on 8.x-7.x
    Issue #3084948 by jaapjan, Kingdutch: move...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

bramtenhove’s picture