I'm using the domain access module, and am limiting users to accounts only within the domain they have registered with. I posted a similar issue with domain access and was asked to post it here. This was the reply to my post.
agentrickard - December 3, 2007 - 20:18
I looked through the code in CVS. IMO, this is a bug in the Subscriptions code.
Not using db_rewrite_sql() has the effect, I believe, of not respecting node access modules such as Organic Groups and Domain Access.
DA relies on http://api.drupal.org/api/function/node_db_rewrite_sql/5 to enforce its access rules.
If Subscriptions never invokes db_rewrite_sql() when preparing node lists, then node access rules will not be invoked at the query level.
You should point the Subscriptions maintainer(s) to http://api.drupal.org/api/group/node_access/5, specifically:
When adding a node listing to your module, be sure to use db_rewrite_sql() to add the appropriate clauses to your query for access checks.
Note that you should be testing Subscriptions 2 beta3 -- other versions are discontinued.
I was just wondering if this would be fixed in 5.2x
Thanks
Comments
Comment #1
salvisPlease post the link to the other thread so that I can understand what issue you're facing.
Comment #2
gustav commentedhttp://drupal.org/node/197488
Comment #3
Daryljames commentedYes, that is the correct link. I had posted this in Domain Access about a month ago, after posting it within an issue here. Not starting a new issue like I was asked to, So I thoroughly confused everyone including myself, Thank you for all the help, I think I'm finally understanding how to work this issue thing, hope I havent pissed off to many people in the process.
Daryl
Comment #4
salvisNo problem.
The best way to handle this type of situation is to move the original issue to the queue where it belongs.