Posted by agentrickard on November 13, 2007 at 3:24pm
OK, so I'm working on integrating Domain Access with OG.
Problem is, the current node_access system uses OR based permissions. What I really need is the option to set AND based permissions. For example:
-- Current node_access rules
return TRUE IF (og == TRUE) OR (Domain Access == TRUE);-- Desired rules
return TRUE IF (og == TRUE) AND (Domain Access == TRUE);See http://drupal.org/node/191375 for a full discussion and some possible options.
To summarize, I'm thinking about rewriting the node_access function and adding a hook_access_logic() function to allow for this type of granularity.
There is also a related problem that node_access checks don't run if $node->status == 0 -- which is a problem for my use case.

Comments
Woo Hoo
There is now a patch to test.
http://drupal.org/node/191375#comment-635244
Requires:
--
http://ken.therickards.com/
http://savannahnow.com/user/2
http://blufftontoday.com/user/3
--
http://ken.therickards.com/
And a core patch
This has been submitted as a feature for Drupal 7.x.
http://drupal.org/node/196922
Review love would be awesome.
--
http://ken.therickards.com/
http://savannahnow.com/user/2
http://blufftontoday.com/user/3
--
http://ken.therickards.com/
RC1
Domain Access rc1 is out. http://drupal.org/node/201500
--
http://ken.therickards.com/
http://savannahnow.com/user/2
http://blufftontoday.com/user/3
--
http://ken.therickards.com/