I am using Domain Access to make multiple sites housed under sites.example.com. Domain Access shares users throughout (I'm using LDAP) and also shares databases... So my content is technically shared from john.site.example.com and sue.site.example.com. However, Domain Access has a section that allows content from other sites to be hidden to avoid confusion.
Once I activated another module called Content Access (because I need the users on one of these - share.site.example.com - to only be able to see content on login), my Domain Access hidden content all reappeared on all of the websites, regardless of which website had made the content.
Do you have any thoughts regarding this? Is there some shared code that conflicts between the two? Or is there another way for me to provide rules for a certain content type without conflicting with Domain Access?
thanks!
Comments
Comment #1
agentrickardPlease read the provided documentation, esp. 1.3 Using Multiple Node Access Modules and 2.1.1 multiple_node_access.patch.
Comment #2
agentrickardYou could, if need be, use hook_domainrecords() or hook_domaingrants() to alter the DA module's behavior for specific node types.
The fundamental problem is OR grants with node access, as documented.
Comment #3
pzula commentedOk so is multiple_node_access.patch automatically enabled when I installed Domain Access?
Comment #4
agentrickardNo. You have to apply it. It is a documented patch to Drupal core.
Comment #5
agentrickardComment #6
pzula commentedHow do I install this patch? I see it in the "patches" folder of DA but unsure as to what to do with it. Thanks for all of your help!
Comment #7
croryx commentedSee the Applying Patches page.