Hi guys.

I have doubt.

Yesterday, I installed domain and start my studies about him.

But I arrives in the a problem.

When I add an article to only domain:

Article 1 : set to domain1
Article 2: set to domain2

Both with "Send to all affiliates" unchecked.

Then, when I access to following urls (as Anonymous user)
http://www.domain1.com/article1 -> It's ok!
http://www.domain2.com/article2 -> It's ok!

But if I does following test:
http://www.domain1.com/article2
http://www.domain2.com/article1

My doubt:
The Anonymous user shouldn't to see this contents in these domains because in these contents aren't register to this domain.

Am i Wrong or right?

Ferrari

Comments

Ferrari’s picture

Title: Anonymous user should see only the contents of a given domain ? » Does Anonymous user should see only the contents of a given domain ?
agentrickard’s picture

Category: Bug report » Support request

Any user who is not an administrator should only see content assigned to the current domain or to all affiliates.

This behavior is covered under tests, so there is something else going on in your case.

1) Does the anon user have escalated access permissions (such as Bypass node access)?

2) Are you using more than one access control module? If you are using, say, Organic Groups as well, if either module grants access, access is allowed.

3) If is also possible to disable Domain Access by configuring certain paths using the Special page requests section of the module configuration.

You can look in the {node_access} table of the database to see what records are stored there. domain_id would show visibility on the corresponding domain, domain_site to all affiliates.

If there is anything in {node_access} that is not prefixed with 'domain_', then some other module is granting access.