I came across an issue (http://drupal.org/node/655642) that mentions a conflict with this module. I would like to restrict users to edit nodes that are published to the user's domain. I've confirmed, however, that the Domain Access Advanced module breaks the 'edit domain nodes' permission (provided by the Domain Access module) that accomplishes this.

Comments

jhedstrom’s picture

I've also recently run into this issue on a project. We need domain adv since there is another access module being used. In my preliminary testing, I've found this pair of functions to be the culprit:

/**
 * Implementation of hook_domainrecords().
 */
function domain_adv_domainrecords(&$grants, $node) {
  _domain_store_grants($node->nid, $grants);
  $grants = array();
}

/**
 * Implementation of hook_domaingrants().
 */
function domain_adv_domaingrants(&$grants, $node, $op) {
  $grants = array();
}

Removing them both and rebuilding content permissions seems to work, but I wouldn't want to just do that without a fuller understanding of how that may effect access on the site.

gordon’s picture

Status: Active » Postponed (maintainer needs more info)

This will break advanced access as it means that the records will get written which need to be stopped, so that access is not done via node access and do it via the SQL rewrite.

We need to investigate how we know if it can be edited, when When you are editing the cdomain nodes.