Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: Editoria11y Accessibility Checker 3.0.10 — Minor update available for module editoria11y (3.0.10). Release: Editoria11y Accessibility Checker 2.2.24 — Minor update available for module editoria11y (2.2.24). Release: Leaflet 10.4.13 — Minor update available for module leaflet (10.4.13). Release: Flag 5.1.1 — Minor update available for module flag (5.1.1). Release: MCP Sentinel 2.33.0 — Minor update available for module mcp_sentinel (2.33.0). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

Private Node

1 sites No security coverage Drupal 10–11
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

Depends on

Dependencies of the latest stable release

  • node Drupal core
  • user Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

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

Releases

Version Type Core Release date
1.0.0 Stable 10–11 Jul 3, 2026