[development] Overriding node_db_rewrite_sql()

Ron Parker sysop at scbbs.com
Thu Jul 26 08:08:30 UTC 2007


Konstantin Käfer wrote:

> user #1 has unlimited access to everything. There are no restrictions  
> in effect whatsoever. db_rewrite_sql is iirc not used for uid #1.

What I mean is that when I add my custom hook_db_rewrite_sql, user #1 
sees all nodes regardless of the view.  If the view is for a group, user 
number #1 sees all nodes in the system, whether they are in a group or not.

I guess my question is: Why do I have this behaviour when I add the 
node_db_rewrite code to my custom module since I don't have this problem 
with the default node_db_rewrite_sql?

>
>
> Konstantin Käfer — http://kkaefer.com/
>
>
>
> __________ NOD32 2421 (20070725) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
>


-- 
Ron Parker
Software Creations               http://www.scbbs.com
Self-Administration Web Site     http://saw.scbbs.com
SDSS Subscription Mgmt Service   http://sdss.scbbs.com
Central Ave Dance Ensemble       http://www.centralavedance.com
R & B Salsa                      http://www.randbsalsa.com



More information about the development mailing list