Commit f574502c authored by borisson_'s avatar borisson_ Committed by borisson_

Issue #2942655 by borisson_, drunken monkey: Add FAQ about Facet results shown...

Issue #2942655 by borisson_, drunken monkey: Add FAQ about Facet results shown for inaccessible content
parent a6468165
......@@ -159,3 +159,11 @@ A: If you just need to show text, use
https://www.drupal.org/project/facets_prefix_suffix.
However if you need to include html you can use
hook_preprocess_facets_result_item().
Q: Why are results shown for inaccessible content?
A: If the "Content access" Search API processor is enabled but results still
aren't properly access-checked, you might need to write a custom processor to do
the access checks for you.
This should only happen if you're not using the default node access framework
provided by Core, though. You need to use a combination of hook_node_grants and
hook_node_access_records instead of hook_node_access.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment