Use db_rewrite_sql()

kiamlaluno - December 30, 2008 - 22:33
Project:Kaltura
Version:6.x-1.3
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

When a module makes an SQL query to the node, and taxonomy core tables, it should pass the query string to db_rewrite_sql() which allows other modules (including the core node.module module) to filter the list of nodes returned.
In the case of node.module, it filters out the nodes to which the current user has no access.

#1

kiamlaluno - December 30, 2008 - 22:34

See the Drupal documentation for more details.

#2

gonen.kaltura - January 14, 2009 - 14:00
Status:active» fixed

fixed in 6.x-1.4 and 5.x-1.3

#3

System Message - January 28, 2009 - 14:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.