Introduction

This section contains links to some notes about how Content Access may interact with other modules and services.

I have not tested these myself, and they may be outdated when you read this. I do not guarantee that the suggestions linked to below actually work. They are just to keep the links to these notes that have been posted on the web in a single file.

If you spot link rot, wrong information, or have some guidance to add on this page, please report it using the project's issue queue. I'll include any corrections in the next release.

Varnish, Cachewall

Varnish and other cache systems such as Cachewall by default will delete cookies before they reach Drupal, so everybody becomes an anonymous user. This precludes access to private file attachments.

Below are settings for Varnish to prevent this for some file types:

# Always cache the following file types for all users. This list of extensions
# appears twice, once here and again in vcl_fetch so make sure you edit both
# and keep them equal.

if (req.url ~ "(?i)\.(pdf|txt|csv|png|gif|jpg|ico|swf|css|js)(\?.*)?$") {
  unset req.http.Cookie;
}

Views and Workbench

If you have problems intgrating Views and/or Workbench, in particular in connection with the “View own unpublished content” permission, one of these links may help:

Problems using relationships in Views may be solved by patching core: