By johnrosswvsu on
Hi Everyone,
I am wondering if there is such a function in Drupal core that limits the result of a query to the nodes, for example, that the user has access to. Just like how views gives its results where it eliminates the nodes where the current user has no access to view... It is somehow like node_access() but should already part of the query.
Thank you very much.
John
Comments
_
Like http://api.drupal.org/api/function/db_rewrite_sql ?
Thank you very much
Thank you very much for the quick and informative response, WorldFallz! The function really did the trick. Thanks a lot.
John Ross C. / Web Developer
johnross@prometsource.com
Promet Source
1802 W Berteau Ave Suite 209 Chicago, IL 60613
Drupal Web Development
_
awesome!