Hello,

I use drupal
I enabled domain strict and choose some content to be NOT affiliated to all sites, but still anonymous users can see the restricted content.

in addition i ensure that:
1) The 'Search settings' to the default value -> 'Search content for the current domain only'
2) Clear out any rules in the 'Special page requests' settings.

What could be the problem?

Comments

chenop’s picture

One more thing:
i tried also the domain toggle module and got same results.

agentrickard’s picture

Category: bug » support

Highly unlikely to be a bug. What does the debugging tell you about the visibility status of your content?

chenop’s picture

Can you describe how to debug this problem and how do i determine the visibility status?

agentrickard’s picture

Turn on DEBUG MODE. Or install Devel Node Access.

chenop’s picture

Here is details for a node that was affiliated only to the main domain but anonymous users can still see it from a restricted domain:

domains (Array, 1 element)
-1 (Integer) -1
domain_site (Boolean) FALSE
subdomains (Array, 1 element)
0 (String, 17 characters ) [name of the main domain]

Why i can still see in the restricted domain although domain strict is enable?

agentrickard’s picture

Did you dynamically set any domains per role using the 'User Defaults' tab?

Are you using Domain Access Advanced or any other node access module _in addition_ to Domain Access?

chenop’s picture

You were right.

I had the "content access" module enable.
after disable it the problem was solved.
Thanks!

agentrickard’s picture

Status: Active » Closed (fixed)

Running multiple node access modules produces an OR condition in Drupal 6. So if Content Access grants permission, the content is viewable.