Prevent hidden profile fields from getting search hits

aharown07 - May 24, 2009 - 02:50
Project:Profile Plus
Version:6.x-1.1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Here's my scenario: gave search profiles permission to authenticated users. But have some profile fields that are visible only to special roles (like Moderator, for example).
When authenticated user searches for string that happens to match a hidden field, he sees a hit in the Profiles search tab but the actual field is hidden.
It's good that the hidden field doesn't show in the results, but the user who did the search has no idea why he got a hit.
Would be better if "no permission to see field" also results in no search hit.

 
 

Drupal is a registered trademark of Dries Buytaert.