Description:

This is an easy to use module that grants access to view unpublished content (node, media, anything that implements EntityPublishedInterface) to anyone who has a unique URL and appropriate permissions. This module is useful for proofreaders, content checkers etc. Webmaster does not need to create user accounts and can keep the website safer. Each content item has its own unique access URL.

Users on unpublished content edit forms can see a “Temporary unpublished access” tab in the sidebar. All access tokens for this entity are listed there and it’s possible to generate new ones, delete tokens or renew them after they are expired.

The “Copy” operation will copy the access URL into the users' clipboard. It’s something like http://example.com/node/1?auHash=998FEgW-dxDq8QBDkZ_JYKAZHAEnXHRgQnEOdyraeGk

On published content items the tab is not visible.

To give anonymous users access to an unpublished content item the appropriate permissions have to be set.

Configuration:

This module also provides some possibilities to customize the behavior:

  • Specify the URL key of the hash
  • Set the default lifetime for newly created tokens
  • Let the cron clean-up expired tokens after some defined period of time

Integrations:

  • The module plays hand-in-hand with Drupal core´s content moderation module.
  • Drush: On drush sql-sanitize the all tokens will be sanitized.
  • The access URL is also provided as a token.

Drupal 6 and 7 version note:

The development of this module for D6 and D7 was stopped. For a description of the D7 version take a look at here.

If you are looking to install the Drupal 7 releases from this page, check out the All Releases page to find the unsupported release, otherwise, drush make, and composer access is still available, Please note, you will receive a warning that these versions of the module is unsupported, and short of a major debilitating bug or security issue, there will be no maintenance by the module maintainers.

Supporting organizations: 
Started the Drupal 8 port

Project information

Releases