Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

private_content

1,225 sites Security covered
View on drupal.org

Private content is a very simple node access module that gives each node a 'private' checkbox. If it's set, the node can only be seen by the node author, or users with the 'access private content' permission. The module is particularly recommended for simpler sites, for example to create a members-only area.

Features

  • One-click privacy – Simple checkbox in the node form to mark content as private
  • Per-content type defaults – Set default privacy settings for each content type
  • Two clear permissions – "Access private content" and "Edit private content"
  • Author always has access – Node creators can always view their own private content
  • Views integration – Filter and display private content in Views
  • Actions integration – Bulk update privacy settings via Views Bulk Operations
  • No external dependencies – Only requires Drupal core

Comparison with related modules

Module Approach Best For Private Content Per-node checkbox with two global permissions Simple members-only content Node View Permissions Per-content-type "view own/any" permissions Restricting entire content types Nodeaccess Per-node grants tab with user/role selection Fine-grained per-node, per-user control Rabbit Hole Controls page behavior (403, 404, redirect) Controlling how entities are displayed at their URLs (not content privacy).

See also #3519243: Difference between Rabbit Hole and Private content?

Requirements

  • Drupal 10 or 11

Documentation

Full documentation is available in the README file, covering:

  • How private content access control works
  • Permission configuration
  • Important notes about node grants

Sponsors

Development supported by AlbanyWeb and Finalist.

Activity

Total releases
1
First release
May 2025
Latest release
10 months ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
8.x-2.2 Stable May 24, 2025