1

I am having an issue with Domain Access in Drupal 7.

The admin user (and seemingly any user I add to the system) is unable to edit content attached to any child domains on the site. The main domain is fine, but all others on the same site is effected.

When I attempt to edit content on the Admin (or other user) I get:

You are not authorized to access this page.

I can view all content with no problem.

How do I fix these permissions issues?

The following is the screenshot of the permissions implemented by the module.

screenshot

The "Bypass content access control" permission is disabled for all roles including the "Administrator" one; no other access module is enabled. Two Domains have been set up, the primary one and a sub-domain, which shares some content and has its own. Two languages are enabled for each domain (English and French) using the i18n module.
The "Edit any content on assigned domains," and "Delete any content on assigned domains" permissions are set, but the users still cannot edit the content.

  • Did you check the issue list drupal.org/project/issues/… and documentation drupal.org/documentation/modules/domain especially drupal.org/node/1096972 ? What Domain Access version do you have installed ? – Refineo Apr 4 '12 at 12:44
  • Ive been reviewing the documentation, as far as I can tell I am compliant. however it seems to not be working. See screenshot of access perms: imgur.com/HUhk2 Domain Access version: 7.x-2.18 / D version: 7.12 – Remog Apr 4 '12 at 12:49
  • 2
    Hmm I seem to have figured out that If I log out and go to /user/login on the domain i want to edit content on, and login to the site from there, I have the ability to edit the content from that domain but nothing else. (even though the account should have access on all domains) - I am not complaining, but it does seem rather roundabout – Remog Apr 13 '12 at 13:55
0

If you are logged in at your maindomain and want to edit content on the other domains, you have to enable the$cookie_domain = '.yourmaindomain.com'; in your settings.php. It is also described in this video domain acess video

1

Hi try to configure this setting http://yoursite.tld/admin/structure/domain/roles

Not the answer you're looking for? Browse other questions tagged or ask your own question.