Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Private content

1,752 sites Security covered Drupal 11 · not 10
View on drupal.org

This module allows you to mark individual nodes as private using a simple checkbox in the node editing form. Only the author or users with the "access private content" permission can view these private nodes. It's designed for easily creating members-only areas or restricting content on simpler sites.

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?

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.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
May 2025
Latest release
2 days ago
Releases (12 mo)
2 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
3.1.0 Stable 11 Aug 29, 2026
3.0.0 Stable 10–11 Aug 28, 2026
8.x-2.2 Stable 10–11 May 24, 2025