Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Role Access Control

239 sites Security covered
View on drupal.org

This module provides access control based on role references, allowing you to manage permissions by referencing Drupal user roles. It simplifies access configuration by using role reference fields, similar to how Taxonomy Access Control uses taxonomy terms.

A Drupal module to handle access control based on role references.

Concept

Role Access Control (RAC) was developed around the same idea as Taxonomy Access Control. The major difference is the use of Role References Fields instead of Taxonomy Terms. This simplifies the access control configuration on site's who's TAC acls are mimicking the role list.

Versions

8.x-2.x

The 2.x version of this module is the recommended built. The module has been reworked around the Advanced Access module, to provide a clean interface to provide access to other modules and projects. It greatly simplifies the complexity of this module.

Usage

RAC provides the base configuration and management of access rules. To implement access control, install RAC along with a module that integrates with the Advanced Access ecosystem. Support for access control on nodes is part of the Advanced Access project. Additional modules can be found on the Advanced Access module page.

Setup

To enable RAC add an Entity Reference field to the node, or other entity type supporting fields and Advanced Access. Then go to the Advanced Access Settings page (/admin/config/people/adva) and enable "Role Access" for the desired entity type. The entity type requires an Advanced Access Consumer in order to work. For information on Advanced Access's supported entity types, please the projects page.

8.x-1.x

The 1.x version of this module, is no longer being developed and should not be used in favor of 8.x-2.x. No further work will be done on this module since its early in the development on the suite.

Usage

RAC provides the base configuration and management of access rules. With one of the included modules, access restrictions can be applied to Nodes, Paragraphs or Field Collections Items. Once installing RAC and the required sub-modules, add (or edit) a Entity Reference Field for Roles onto the desired entity type. On the field settings page for the new field, enable "Enable Role Access Control on this field."

Support

If you have any questions about module usage or feature requests, please open an issue.

Activity

Total releases
2
First release
Oct 2025
Latest release
9 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
8.x-2.2 Stable Oct 13, 2025
8.x-2.1 Stable Oct 8, 2025