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

agentrickard’s picture

Category: bug » support
Status: Active » Closed (duplicate)

Please read the provided documentation, esp. 1.3 Using Multiple Node Access Modules and 2.1.1 multiple_node_access.patch.

agentrickard’s picture

Status: Closed (duplicate) » Active

You 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.

pzula’s picture

Ok so is multiple_node_access.patch automatically enabled when I installed Domain Access?

agentrickard’s picture

No. You have to apply it. It is a documented patch to Drupal core.

agentrickard’s picture

Status: Active » Closed (fixed)
pzula’s picture

How 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!

croryx’s picture

See the Applying Patches page.