Node privacy by role: node view and edit permissions

Last updated on
30 April 2025

The node privacy by role module allows users, when creating or editing a post, to select which roles of users on a site will have view, edit, or delete permissions for the node. Community leaders frequently want to give permissions to roles to create and manage content for a site. The ability to publish information, that would traditionally be hoarded, allows communities to educate each other while still preserving the value of knowledge.

The node privacy by-role permissions are set by users for their nodes. If the node privacy by role module is disabled, the default permissions scheme will be in effect again, in which all users have view permissions for all nodes. However, if the module is re-enabled, the node-by-node permissions that were in place during the previous period in which the module was enabled will take effect again. Using the Uninstall option will make the permission reversal permanent.

Roles given edit permissions are automatically given view permissions even if the user tries to give edit permissions to a particular role, but not view permissions.

Before Drupal 4.7, you must explicitly enable or disable the module at administer >> settings >> node_privacy_byrole.

You can:

  1. set default permissions for each content type in the default settings at administer >> content >> configure >> content types for each content type.
  2. decide who can ignore the default permissions for each content type in the default workflow settings at administer >> content >> configure >> content types for each content type.
  3. file issues, read about known bugs, and download the latest version on the Node privacy byrole project page.

Help improve this page

Page status: Not set

You can: