Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Role Access Control

332 sites Security covered Drupal 9–11
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.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Oct 2025
Latest release
10 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core Release date
8.x-2.2 Stable 9–11 Oct 13, 2025
8.x-2.1 Stable 9–11 Oct 7, 2025