Closed (fixed)
Project:
Janode
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2007 at 22:13 UTC
Updated:
15 Mar 2007 at 20:46 UTC
Access to Janode is possible, although it is restricted by taxonomy access control.
Comments
Comment #1
AjK commentedjanode itself doesn't perform any direct access to the {node} table and therefore doesn't "wrap" any query statements in db_rewrite_sql(). It leaves access control to Drupal.
Can you provide more details (ie how to reproduce, etc).
Comment #2
richie commentedMake a linknode (Janode) and assign it to 2 categories (taxonomy terms), one accessible for everyone and one restricted by taxonomy access control (show and list) for authenticated users only. This linknode will be not listed or shown in the public category listing for anonymous users, it's ok. Then access the linknode by its node number (node/n) as anonymous user. You'll see the node altough you shoud not.
Compare your hook_access implementation with those in node.module. It would be nice, if you could fix it. Thank you.
Comment #3
AjK commentedFixed in DRUPAL-5 and DRUPAL-4-7 by
http://drupal.org/cvs?commit=58708 and http://drupal.org/cvs?commit=58709
Please test and report back. If this solved it for you I will do a release and close this issue.
Thx, AjK
Comment #4
richie commentedBingo! Yes, it works as expected, now. Thank you very much.
Comment #5
AjK commentedComment #6
(not verified) commented