Drupal is a registered trademark of Dries Buytaert
Release: Leaflet 10.4.11 Minor update available for module leaflet (10.4.11). Release: Session Inspector 1.0.8 Minor update available for module session_inspector (1.0.8). Release: Migrate QA 2.0.4 Minor update available for module migrate_qa (2.0.4). Release: CKEditor Description List 3.0.0 Major update available for module ckeditor_descriptionlist (3.0.0). Release: FlowDrop 2.4.0 Minor update available for module flowdrop (2.4.0). Release: JWT Token Refresh 1.0.4 Minor update available for module jwt_token_refresh (1.0.4). Release: ConReg 1.0.0-beta1 First beta version released for module conreg (1.0.0-beta1). Release: AI Image Studio 1.0.0-beta8 New beta version released for module ai_image_studio (1.0.0-beta8). Usage Milestone: Statistics Counter Module statistics_counter crossed 1,000 active installs. Module Revived: Decoupled Router 2.0.7 Module decoupled_router updated after 11 months of inactivity (2.0.7).

Private Node

1 sites No security coverage
View on drupal.org

This module allows content authors to restrict access to individual nodes. A node can be marked as private and made visible only to its author and explicitly chosen users, acting as an additional visibility layer on top of Drupal's existing publishing workflows.

CONTENTS OF THIS FILE
---------------------

* Introduction
* Requirements
* Installation
* Configuration
* How it works
* Maintainers

INTRODUCTION
------------

Private Node lets content authors restrict who can see an individual node.
A node can be marked private and made visible only to:

* The node's author (always), and
* Any specific, hand-picked list of other users.

This is completely independent of Drupal core's Draft/Published (content
moderation) workflow. A private node can still be a Draft or Published;
"private" is an additional visibility restriction layered on top, not a
replacement for the moderation state. Everything you already rely on for
Draft/Published continues to work exactly as before.

* For a full description of the module, visit the project page:
https://www.drupal.org/project/private_node

* To submit bug reports and feature suggestions, or track changes:
https://www.drupal.org/project/issues/private_node

REQUIREMENTS
------------

This module requires no modules outside of Drupal core (Node, User).

INSTALLATION
------------

Install as you would normally install a contributed Drupal module. See:
https://www.drupal.org/docs/extending-drupal/installing-modules for
further information.

CONFIGURATION
-------------

1. Enable the module.
2. Go to Administration > Configuration > Content > Private Node
(/admin/config/content/private-node) and select which content types
should support the privacy option.
3. Go to Administration > People > Permissions and grant:
- "Mark content as private" to any role that should be able to make
their own content private (e.g. Authenticated user).
- "Bypass private node restrictions" to roles that should always be
able to see everything regardless of privacy (e.g. Administrator).
4. Edit a node of an enabled content type. A "Content privacy" pane
appears alongside the other sidebar options (Authoring information,
etc.) where the author can check "Make this content private" and,
optionally, list additional users to share it with.

HOW IT WORKS
------------

Private Node uses Drupal's native node access grants API
(hook_node_access_records() / hook_node_grants()) -- the same underlying
system core and other access-control modules use. Because of this:

* Private nodes are hidden from Views listings, the default content view,
core search, and any other query tagged 'node_access', not only from
their own canonical page.
* Nodes that are never marked private are completely unaffected; this
module adds no overhead or restriction to normal, public content.
* After installing, uninstalling, or bulk-changing privacy settings
outside of the normal node edit form, you may need to rebuild
permissions at Administration > Reports > Status report (or via
`drush php-eval 'node_access_rebuild();'`), the same as with any module
that implements node access grants.

Editing and deleting a private node is additionally restricted, on top of
normal node permissions, to the owner, any explicitly shared users, and
users with the bypass permission.

MAINTAINERS
-----------

Current maintainers:
* Sumit Thakur - https://www.drupal.org/u/sumit_thakur

Activity

Tracked releases
1
Tracked since
Jul 2026
Latest release
1 month ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.0 Stable Jul 3, 2026