Restricts all node listings, not just search?

gpk - June 11, 2009 - 10:06
Project:Search Restrict
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi Robert,

This module looks a very quick and easy way of controlling search behaviour. :-)

One thought - since it is using http://api.drupal.org/api/function/hook_db_rewrite_sql/6, presumably this means that it will affect all node listings generated by core (or by contrib if they use db_rewrite_sql(), which I guess Views doesn't).

In practice I guess this won't be a problem, though in theory you might have a content admin you wanted to be able to see stuff listed at admin/content/node while not having the same stuff show up in search results.

#1

sun - July 24, 2009 - 12:17
Status:active» fixed

No, it only affects search queries.

#2

Robert Castelo - July 25, 2009 - 23:27
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.