Description

Some content/nodes should never be viewed directly; only visible be through something else such as Views, or Panels. Per-content type or per-node, this module denies access to node/[nid] URLs while allowing the content to stay published and otherwise viewable.

Functionality

  • Creates a permission per content type which when disabled denies node view to the specified role.
  • Adds an option to content type edit forms for administrators to select the result of a direct node view.
  • Node view options are Allow, Not Found, Access Denied, and Redirect.
  • Redirect URL/path can use tokens, anchors or $_GET variables.
  • "Denied action setting per-node" in content type settings. Node default is to use content type default.
  • hook_url_outbound_alter() implementation to rewrite URLs of denied nodes to the redirect URL.
  • Simpletests for content type settings, node settings, and hook_url_outbound_alter().
  • Rules integration - Node view denied to user
  • internal-node class on <div> and optional status messages for users with permission to view blocked nodes.

Use Cases

  • Index all content types for search, but redirect some to the correct View/Panel when accessed.
  • A View/Panel can open/scroll/page to a node when a [node:nid] token is used
    as a GET variable and or Anchor.
  • Deny access to node/[nid] URLs, except where allowed.
  • When nodes in an old content type are no longer needed, redirect all accesses to the landing page for the new content type.

Future Functionality

  • Rules - Set 'node action'
  • Views - List blocked actions for each node
  • PHP/Hook for redirection location
  • Allow edit/delete, but not view. See: http://drupal.org/node/1331034
  • Simpletests for minor features

Downloads

Recommended releases

Version Downloads Date Links
7.x-1.1 tar.gz (14.46 KB) | zip (18.27 KB) 2011-Oct-06 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (14.27 KB) | zip (18.08 KB) 2012-Mar-09 Notes

Project Information


Maintainers for Internal Nodes

  • eosrei - 7 commits
    last: 11 weeks ago, first: 41 weeks ago
  • mjpa - 14 commits
    last: 40 weeks ago, first: 1 year ago

Issues for Internal Nodes

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
nobody click here