Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Role Access Control

Security covered Under active development 347 sites

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.

Drupal 9–11

Ask your assistant about Role Access Control

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
3
Tracked since
Apr 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
8.x-2.2 Stable 9–11 Oct 13, 2025
8.x-2.1 Stable 9–11 Oct 7, 2025
8.x-2.0 Stable 8–10 Apr 28, 2023