Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! 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)!

vapn

1,640 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
1 year ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
3.0.0 Stable Jun 2, 2025