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).

vapn

1,587 sites Security covered
View on drupal.org

Introduction

View Access Per Node (vapn) is a very simple access control module with
relation to viewing content on a per-node basis, the initial idea is a porting of the D7 module "View Permissions Per Node" https://www.drupal.org/project/vppn but more features/integrations are planned for this project.

This module only deals with viewing nodes, it does not affect other ops (eg. create/update/delete).

There are a lot of access control modules, many of them are compared here
https://www.drupal.org/node/270000

This module only uses hook_node_access so it should play fairly well with other access control modules.

Installation

- Enable the module (https://www.drupal.org/docs/8/extending-drupal-8/installing-drupal-8-mod...) as usual,
- Set permissions for users that can use and administer vapn.

Configuration

- Navigate to admin/config/vapn/vapnconfig and select the content types,
- Create or edit a node with one of the types selected above,
- There will be a new vertical tab named "View Access per node",
- Select the roles that will have view access to this node.

Notes

- Roles with the bypass node access permission will not be listed,
- Selecting no roles will skip using this module for access control,
- Selecting even one role will enable this module for access control, and deny
access to any users without one of the selected roles.

Version 3
- It now switched to use entity/field api to handle the permissions https://www.drupal.org/project/vapn/issues/3394494.
- In previous version, if you don't specify a role in your node, by default it will show it for all users. In version 3, it will now only show it to administrator.

Activity

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

Releases

Version Type Release date
3.0.0 Stable Jun 2, 2025